Project

General

Profile

Actions

Bug #2720

closed

smart-proxy DNS doesn't work with multiple DNS servers because of default value for 'dns_server' option

Added by Anonymous about 11 years ago. Updated over 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
DNS
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Docs http://theforeman.org/manuals/1.2/index.html part 4.3.2 - DNS section says this:

The dns_server option is used if the Smart-Proxy is not located on the same physical host as the DNS server. If it is not specified then localhost is presumed.

The problem is that the default value localhost breaks the auto-detection logic inside nsupdate. This prevents smart-proxy from updating records on multiple DNS servers.

See manual page for nsupdate - section INPUT FORMAT:

server {servername} [port]

Sends all dynamic update requests to the name server servername. When no server statement is provided, nsupdate will send updates to the master server of the correct zone. The MNAME field of that zone's SOA record will identify the master server for that zone. port is the port number on servername where the dynamic update requests get sent. If no port number is specified, the default DNS port number of 53 is used.

IMHO there should not be any default value and server statement should be omitted by default.


Related issues 2 (1 open1 closed)

Related to Foreman - Tracker #5409: DNS Proxy ImprovementsNew

Actions
Has duplicate Smart Proxy - Feature #10274: Add option to avoid sending server statement to nsupdateDuplicate04/27/2015Actions
Actions

Also available in: Atom PDF