Do I need to restart Named after making DNS changes?
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Do I need to restart Named after making DNS changes?
Hi,
I'm fairly new to Linux. We're using RedHat 9.
I think after making DNS record changes I need to increment the Serial Number by one, save the .dns file and restart named. Is this correct?
I'm also having trouble restarting named. I did some google searches and they suggest I need to do /usr/sbin/ndc restart but when I do that I get an error message that states there's no such file.
One article I found suggests, if I don't have ndc, I must have an old system. It suggests I do /usr/sbin/named restart.
However, when I try that it's expecting more parameters.
So I'm a little confused about the process. I'm also not sure if I need to go to the secondary server and do anything after making my changes on the primary server.
I'd appreciate some pointers on how to handle DNS on a Linux box. Thanks.
Do I have to create DNS records on the secondary server?
If I'm creating the necessary records for a new domain, I do the following on the primary server:
1. MyDomain.com.dns file in /var/named
2. Put a reference to MyDomain.com.dns file in /etc/named.conf
3. service named reload
After this, do I need to go through the same steps on the secondary DNS server? Obviously, I set it so that the records read "slave" instead of "master" on the secondary server.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.