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.
Hey all, I can't get my slave server to work for DNS. Ok I have 2 DNS servers, ServerA is master for domainA and ServerB is master for domainB. I want to get ServerA to be a slave for domainB. IP for serverA is 192.168.1.2 and ServerB 192.168.1.13 I open up my /etc/named.conf file on serverA and enter the following
};
zone "domainB" { <------wouldn't let me do correct char
type slave;
file "domainB.hosts";
masters "192.168.1.13";
};
the closing brackets for some reason got translated to { it is correct though in the file. serverB works just fine as a master, domain lookups work just fine and dandy. What am I doing wrong? I did notice in the named.conf file there is a line under the controls tag that only lists localhost, could this have something to do with it. Running RH 7.3. Any help would be appreciated. This is my first attempt setting up DNS on a Linux box. Thanks in advance!
sorry guys, the problem I am having is as soon as I put that slave zone entry into my named.conf file on serverA, I try to restart named using the sys V scripts, but it fails. That's my actual error. I am pretty sure it isn't syntax. Thanks
just in the posting it when I type the } char it comes out fine but the other way { come out like that. It is correct in the file though. I dont' know why it won't let me use that char in the post ? Weird. I'll recheck my syntax in named.conf on both machines...brb....
It looks exactly as you just typed it in your last post.
In the post @ 6:32 pm, where do I put that allow update section, I am gueessing serverB? I'll try it but instead of none, I will put serverA's IP.
whoa really weird, I just actually read my post and the { shows up fine in the actual post but as I type it right now, it shows up like a bracket, freaky! Anyways, I'll give it a shot! Thanks buddy!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.