Feature #4350

Allow entry of multiple IP addreses in DNS Resolver Domain Overrides

Added by Phillip Davis over 5 years ago. Updated over 5 years ago.

DNS Resolver
Target version:
Start date:
Due date:
% Done:


Estimated time:


Unbound seems to allow multiple stub-addr in a stub-zone.
This would be handy when using DNS Resolver on pfSense with domain overrides to an internal DNS for some internal domain name. Where there are multiple internal DNS servers available then being able to specify multiple of them will help redundancy if 1 of them is down/unreachable.
Perhaps just allowing to input a comma-separated list will be good - with appropriate validation of each entry...

Note: dnsmasq DNS Resolver appears to have no way to specify multiple domain override IPs - so this sort of feature cannot be implemented with dnsmasq.



#1 Updated by Chris Buechler over 5 years ago

  • Target version changed from 2.2.2 to 2.2.3

#2 Updated by Phillip Davis over 5 years ago

I discovered this is already possible - just enter the domain to override multiple times in the DNS Resolver GUI with a different IP address each time. Unbound already has code to sort and group all entries with the same domain but different IP addresses and does:
foreach ($ips as $ip) {
$domain_entries .= "\tstub-addr: $ip\n";

and it even seems to work!
So this feature request can be closed.

#3 Updated by Phillip Davis over 5 years ago

I added pull request
That just adds words to the GUI so users can know that the feature works and how to do it.

#4 Updated by Renato Botelho over 5 years ago

  • Status changed from New to Resolved
  • Target version changed from 2.2.3 to 2.2.2

Also available in: Atom PDF