Project

General

Profile

Actions

Feature #10912

closed

DNS Domain Overrides - more than one target IP

Added by Pim Pish about 4 years ago. Updated about 4 years ago.

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

100%

Estimated time:
Plus Target Version:
Release Notes:

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.

Actions #1

Updated by Viktor Gurov about 4 years 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

Actions #3

Updated by Jim Pingle about 4 years ago

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

Updated by Renato Botelho about 4 years 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!

Actions #5

Updated by Danilo Zrenjanin about 4 years 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.

Actions #6

Updated by Jim Pingle about 4 years ago

  • Category changed from DNS Forwarder to DNS Resolver
Actions

Also available in: Atom PDF