Feature #4350
closedAllow entry of multiple IP addreses in DNS Resolver Domain Overrides
0%
Description
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.
Forum: https://forum.pfsense.org/index.php?topic=87683.msg483522#msg483522
Updated by Chris Buechler over 9 years ago
- Target version changed from 2.2.2 to 2.2.3
Updated by Phillip Davis over 9 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 unbound.inc does:foreach ($ips as $ip) {
$domain_entries .= "\tstub-addr: $ip\n";
}
and it even seems to work!
So this feature request can be closed.
Updated by Phillip Davis over 9 years ago
I added pull request https://github.com/pfsense/pfsense/pull/1606
That just adds words to the GUI so users can know that the feature works and how to do it.
Updated by Renato Botelho over 9 years ago
- Status changed from New to Resolved
- Target version changed from 2.2.3 to 2.2.2