<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 27 April 2016 at 08:34, Sean Son <span dir="ltr"><<a href="mailto:linuxmailinglistsemail@gmail.com" target="_blank">linuxmailinglistsemail@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>Thank you for your response. Basically what I am trying to do is migrate the BIND server from a Centos 5.11 machine to a CentOS 7.2 machine.  The BIND on CentOS 5.11 was compiled manually by source and its named.conf file looks very different than what CentOS/Red Hat provides in the RPM package named.conf file. Any tips on how I should go about migrating successfully from the 5.11 machine to the 7.2 machine?  <br></div></div></div></blockquote><div><br></div><div>Your best approach is to have a careful look at the named.conf you're migrating from and understand what options are required by your DNS needs, and which are just related to how the Centos 5 machine is organized.  You can then merge the former set (your requirements) into the default config of the Centos 7 machine.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><br><br></div>As for the named.service unit file that Reindl provided, will I need to call upon any RNDC services? I saw that in the named.service file that comes with the RPM/YUM package contains a call to some RNDC service which calls up some generate-rndc-key.sh script.. I am not too sure of what the names of the files are. <br></div></div></blockquote><div><br></div><div>rndc is the command line interface to a running BIND server.  (BIND == berkeley internet name domain, rndc == remote name domain controller (or something to that effect)).  The rndc.conf file must agree with the named.conf file on where BIND's controller interface is (the controls{}; clause in named.conf) and what key to use for authentication, if any.  </div><div><br></div><div>For example, named.conf might have something like this:</div><div><div><font face="monospace, monospace">controls {</font></div><div><font face="monospace, monospace">    inet 192.0.2.1 port 953 allow { 192.0.2.100; } keys {"rndc-key"; };</font></div><div><font face="monospace, monospace">};</font></div></div><div>While your rndc.conf might have:</div><div><div><font face="monospace, monospace">options {</font></div><div><font face="monospace, monospace">    default-key "rndc-key";</font></div><div><font face="monospace, monospace">    default-server 192.0.2.1;</font></div><div><font face="monospace, monospace">    default-source-address 192.0.2.100;</font></div><div><font face="monospace, monospace">    default-port 953;</font></div><div><font face="monospace, monospace">};</font></div></div><div><br></div><div><br></div><div>It sounds to me like the named.service file you mention is probably generating a default rndc.conf file if one doesn't already exist.  </div></div><br></div></div>