Project

General

Profile

Feature #10912

DNS Domain Overrides - more than one target IP

Added by Pim Pish about 1 month ago. Updated 19 days ago.

Status:
Resolved
Priority:
Normal
Category:
DNS Forwarder
Target version:
Start date:
09/18/2020
Due date:
% Done:

100%

Estimated time:

Description

Currently when pfSense is acting as a DNS server it can configure Domain Overrides. This is possible with dnsmasq and also with unbound.
Please make more than one IP address configurable. Currently for one domain you can exactly define one IP address. You want your DNS resolution to be as failsafe as possible. There are scenarios in which it's crucial that you can enter more than one redirection target.

Both unbound and dnsmasq are able to accept more than one IP. In unbound you can configure it like this:

forward-zone:
  name: "mypersonaldomain.com" 
  forward-addr: 192.168.12.4
  forward-addr: 192.168.12.6

In dnsmasq the server= directive is being used. For multiple targets it would look like this:

server=/mypersonaldomain.com/192.168.12.4
server=/mypersonaldomain.com/192.168.12.6

Of course also allow IPv6 addresses as a target.

Associated revisions

Revision 5fc9aa09 (diff)
Added by Viktor Gurov 22 days ago

DNS Domain Overrides help tip. Issue #10912

History

#1 Updated by Viktor Gurov about 1 month ago

If there are multiple authoritative DNS servers available for a domain then make a separate entry for each, using the same domain name.

we need to add this comment from https://github.com/pfsense/pfsense/pull/1606/files or allow to add comma-separated list of IPs, like #10896

#3 Updated by Jim Pingle 22 days ago

  • Status changed from New to Pull Request Review
  • Target version set to 2.5.0

#4 Updated by Renato Botelho 22 days ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Renato Botelho
  • % Done changed from 0 to 100

PR has been merged. Thanks!

#5 Updated by Danilo Zrenjanin 19 days ago

  • Status changed from Feedback to Resolved

Tested on :

2.5.0-DEVELOPMENT (amd64)
built on Sat Oct 03 00:53:52 EDT 2020
FreeBSD 12.2-STABLE

There is an additional explanation on how to add multiple IPs per one domain.

Ticket resolved.

Also available in: Atom PDF