Project

General

Profile

Actions

Feature #4350

closed

Allow entry of multiple IP addreses in DNS Resolver Domain Overrides

Added by Phillip Davis almost 10 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
DNS Resolver
Target version:
Start date:
01/30/2015
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:

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

Actions #1

Updated by Chris Buechler over 9 years ago

  • Target version changed from 2.2.2 to 2.2.3
Actions #2

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.

Actions #3

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.

Actions #4

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
Actions

Also available in: Atom PDF