These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Slave zones not working (DNS) on the new forum.
I created a new slave server for DNS and when I applied the changes, it copied all of the zones to the slave server. When I go into the slave server to verify, I see all of the zone there except that when I click on an individual zone, it's not copying over the records for the zones. I tried deleting and re-adding and still nothing.
Any thoughts anyone?
I fixed it by finding this thread: https://www.virtualmin.com/node/11364
Well, I was a bit wrong. This is not actually working well. If I create a new record, it replicates to the slave server. However, if I update an existing record, it doesn't get updated in my slave server. The master IP is correct but I don't know why updates are not being replicated to the slave. Any thoughts?
You might want to check
/var/log/syslog
on the master and slave after you changed a record. It should read something like this:Master
Slave
Do you get any errors in your syslog, or indications of problem? How did you check/notice that the slave is not updated?
I noticed it was not updating because I went into the slave and checked the record both via webmin and the backend and the old info was still there. However, creating a new record does work but updating doesn't. I deleted the entire slave server from the webmin server index and started over just so that it copies that updated record over.
Okay, that answers half of my question. You unfortunately skipped the other, and more important one, namely checking the error logs for the stuff I mentioned...
Locutus,
Thanks for your help. I found a thread where Joe mentioned that I would have to go to each zone and enable the "notify slave" and also add the IP manually. I then had to ensure that for the zone file options (default), that I have the same settings, which I did. So only new zones were working fine but existing ones weren't because I needed to manually fix those after I did my transfer from one server to another.
Glad that's working :D
Yep, and you could have found that out by just doing what I suggested, namely checking the log files. :)
Transfer errors due to incorrect slave IPs are logged there with lines that roughly read "zone transfer to unknown system rejected". I've had that happen multiple times when changing IP addresses.