<div dir="ltr"><div>Thank you for your responses guys.  Here is a n00b question: Because this new server will be a slave DNS server, do I have to manually copy the zone files from the current slave DNS server (The CentOS 5.11) one, or does the new server automatically get the zones from the master DNS server?<br><br><br></div>Thanks again!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 27, 2016 at 11:50 AM, Reindl Harald <span dir="ltr"><<a href="mailto:h.reindl@thelounge.net" target="_blank">h.reindl@thelounge.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
Am 27.04.2016 um 17:45 schrieb Matthew Pounsett:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
rndc is the command line interface to a running BIND server.  (BIND ==<br>
berkeley internet name domain, rndc == remote name domain controller (or<br>
something to that effect)).  The rndc.conf file must agree with the<br>
named.conf file on where BIND's controller interface is (the controls{};<br>
clause in named.conf) and what key to use for authentication, if any.<br>
<br>
For example, named.conf might have something like this:<br>
controls {<br>
    inet 192.0.2.1 port 953 allow { 192.0.2.100; } keys {"rndc-key"; };<br>
};<br>
While your rndc.conf might have:<br>
options {<br>
    default-key "rndc-key";<br>
    default-server 192.0.2.1;<br>
    default-source-address 192.0.2.100;<br>
    default-port 953;<br>
};<br>
<br>
It sounds to me like the named.service file you mention is probably<br>
generating a default rndc.conf file if one doesn't already exist<br>
</blockquote>
<br></span>
no it don't and you don't need to setup rndc at all just for start/stop/reload named, systemd knows the PID and so can send a SIGHUP, works like a charme for many year on nameservers hosting hundrets of zones and running with controls { }; since nobody but the maintaining scripts have a business mangle with named and after that issue "systemctl reload"<br>
<br>
ExecStart=/usr/sbin/named -4 -f -u named<div class="HOEnZb"><div class="h5"><br>
ExecReload=/usr/bin/kill -HUP $MAINPID<br>
ExecStop=/usr/bin/kill -TERM $MAINPID<br>
<br>
<br>
</div></div></blockquote></div><br></div>