Bug #2720
closed
smart-proxy DNS doesn't work with multiple DNS servers because of default value for 'dns_server' option
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.
Updated by Stephen Benjamin about 11 years ago
- Related to Tracker #5409: DNS Proxy Improvements added
Updated by Dominic Cleal almost 10 years ago
- Project changed from Foreman to Smart Proxy
- Description updated (diff)
- Category changed from DNS to DNS
- Difficulty changed from trivial to easy
Updated by Dominic Cleal almost 10 years ago
- Has duplicate Feature #10274: Add option to avoid sending server statement to nsupdate added
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Assignee set to Lukas Zapletal
- Pull request https://github.com/theforeman/smart-proxy/pull/602 added
Updated by Lukas Zapletal about 5 years ago
- Status changed from Ready For Testing to New
- Pull request deleted (
https://github.com/theforeman/smart-proxy/pull/602)
Updated by Ewoud Kohl van Wijngaarden about 5 years ago
- Assignee deleted (
Lukas Zapletal) - Difficulty deleted (
easy)
Updated by Lukas Zapletal about 5 years ago
- Triaged changed from No to Yes
- Status changed from New to Rejected