Bind master slave not updating Sex botchats
I'm having problem with updating slaves after making changes on master. After I type manually on the master server: # pdns_control notify-host domain host then of course, it's get updated.After updating master slave, there should be probably some setting/option to notify all slaves that there is some update OR on slave I must set something to contact master and ask him "Hey, does domain XY have some changes? We can even check DNS rescords without mentioning its IP address in /etc/ Client requests first DNS server for resolution in case it resolve its good otherwise it request second one and so on further till it resolve or all mention DNS fails to resolve query.Now we have to build our zones file as we mentioned in above. I have created forward lookup zone with various types of DNS records. For details regarding records types please refer earlier DNS post.
What bothers me is this: - every domain that was added in the past, after adding new record, new record is automatically transferred to the slave with any problem within next minute or two - every new domain that I add have problem when I add new record on the master server, it is not transferred to the slaves and the only way it is working is manually through pdns_control notify host domain OR changing directly in the database SOA record or last checked - in the end this is not solution, as I want it to be transferred automatically, just like it's working for old domains What could be the problem, any suggestions?
What type did you set your domains to in the domains table? I've just tried that and it seems like this is not working for me, but I've figure it out if I change last_check to NULL, powerdns not only synchronize all DNS records, but it also update SOA record.
Thanks @Peter On master server, every domain is set to MASTER, and on slave is set to SLAVE.
Master DNS Server -- srv7-master.-- 192.168.12222.109 Slave DNS Server -- srv7-sec.-- 192.168.12222.121 Client Machine -- srvu.-- 192.168.122.37 We are using Cent OS7 as DNS Master/Slave DNS Server. [[email protected] ~]# cat /etc/redhat-release Cent OS Linux release 7.3.1611 (Core) [[email protected] ~]# cat /etc/redhat-release Cent OS Linux release 7.3.1611 (Core) [email protected]:~# lsb_release -d Description: Ubuntu 17.04 As mentioned above in previous post we already saw How To install and configure bind on single DNS Server.
Installation of Bind packages on Cent OS7 with below command.