Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have configured one primary(master) and secondary (slave)dns server in my RHEL-5 network. I want to know how can I set time interval for sync between these two servers whenever records get updated on primary dns server. It takes much time to replicate new records to slave server. How can I update slave records manually without waiting for default time interval? what are the useful commands for replication between master and slave servers ?
It's supposed to be done automatically. I.e. whenever a change occurs in a primary zone, master dns notifies the slave about that change. I suggest you to look better at your configuration on both master and slave server and also take a look at the dns howto.
If you insist on updating slave manually, you can run:
rndc reload domain.com
But once again I tell you to look at your configuration and maybe logs to find out what's the problem, since this should happen automatically (as soon as you make a change on the primary and reload the zone the primary should notify the slave about the change).
As iold you earlier that i have manually type these enteries here in this forum.So please ignore these errors.when i check zone file in slave, sometimes it shows update and sometimes not.I donot know the reason.I wanna know why slave is not taking the role of master when master gets down.
Please ignore any syntex like . : and ; I have checked them all.
How do you reload a zone in your master, right after you make a change?
Make a change in a master zone, increase the serial and watch /var/log/messages (or whatever logfile dns changes are logged) to see what happens when you're reloading the zone.
I have only edited the zone file and change the serial number and nothing else.Do we have to reload the zone manually? If yes ,How?
I changed the serial number, modified the zone file but no message in /var/log/message.I have changed the resfresh time from default to 1 min. Even then no information of zone transfer in /var/log/message file.It takes more than 1-2 hr. for slave for updation.
I'm sorry but I can't help you on this since I have no experience on these tools. Perhaps someone else can help you.
What I suggest you is to read the documentation and try to figure out how to accomplish what you want to do.