I am pasting the steps which I have followed to configure my master and slave server ================================================== ============== Configure Bind as master and slave server Install Bind on your server yum install bind OR sudu apt-get install bind9 Generate RNDC Key using the command rndc-confgen -a -k rndc-key it will stored in /etc/rndc-key file Master Server IP 192.168.0.1 Slave Server IP 192.168.1.1 Master Server Configuration ======================== options ; //### added rndc-key into ### key "rndc-key" ; acl "trusted" ; controls ; view "external" ; Slave Server Configuration ================== options ; key "rndc-key" ; acl "trusted" ; controls ; view "external" ; ================================================== ============== I have the same entry as you suggested.
zone "yourdomainname.com" in ; But my concern is If I am adding a new DNS record for a new domain on my master server then why slave server file is not getting updated with the zone entry for that domain name.
The default behaviour is to allow zone updates only from the masters IP(s).
While checking the file I see that the zone entry has not been updated at slave server.If I update it manually and reload named on slave then zone files (db files) are getting created without any issue and any modification at master server for the zone records are also getting updated.If you are talking about adding a new zone, i.e., mydomain2to the master then you must update the slave conf for it to know about it. the reason behind this is because some people when certain zone on certain servers and not others.Now if you have mydomain2on both servers and you are updating the records in that zone then you have to increment the serial number so that the slave knows the file has changed.Users take advantage of this when they recite meaningful Uniform Resource Locators (URLs) and e-mail addresses without having to know how the computer actually locates them.
BIND (pronounced /ˈbaɪnd/), or named (/ˈneɪmdiː/), was as of 2004 the most commonly used Domain Name System (DNS) server on the Internet, and still proclaims itself to be so.
For the visitors of your servers, any DNS server is the same and there is no difference between masters or slaves, so you should define one master and as many slaves as you want (anything between 2 to 4 slaves is OK).
allow-notify applies to slave zones only and defines a match list, for example, IP address(es) that are allowed to NOTIFY this server and implicitly update the zone in addition to those hosts defined in the masters option for the zone.
My concern is why zone record is not getting appended at slave server in file.
Is there anything I am missing in the configuration.
Most importantly, it translates domain names meaningful to humans into the numerical identifiers associated with networking equipment for the purpose of locating and addressing these devices worldwide.