Linux slave DNS server config

Hi. I'm trying to configure a linux(RH Enterprise Server 4) secondary DNS server for a zone that's hosted by a WIndows 2k box, both primary forward and reverse lookup zones. The windows machine has dynamic updates selected and zone transfers ...




Topic Options
#166561 - 09/25/05 05:28 PM Linux slave DNS server config
mjstone03 Offline
newbie

Registered: 10/06/04
Posts: 26
Hi. I'm trying to configure a linux(RH Enterprise Server 4) secondary DNS server for a zone that's hosted by a WIndows 2k box, both primary forward and reverse lookup zones. The windows machine has dynamic updates selected and zone transfers enabled by ip address for both zones, and a forwarder enabled- nslookup looks good. The linux machine has it's ip statically set with primary dns server pointing to windows, secondary itself, dns search path set. The windows machine will be promoted to domain controller after successful DNS configs.

Windows 2k
IP-192.168.1.254/24 gateway=192.168.1.254 DNS=192.168.1.254
DNS forward zone=abc.com
DNS reverse zone=1.168.192
DNS forwarder= 10.71.100.100 w/recursion
DNS dynamic updates enable for both forward/reverse
DNS zone transfers by IP=192.168.1.253
-nslookup checks out

Linux
IP-192.168.1.253/24 gateway=192.168.1.254 DNS Primary=192.168.1.254, Secondary=192.168.1.253, DNS search path= abc.com, DNS Hostname= linux01.mbi.com

How should I config the named file? After I configured the file the first time, I then swithed the network config so it pointed to itself for DNS first, then windows 2nd. Any pointers you can give me would be much appreciated. Thanks.


Top
Advertisement
#166634 - 09/28/05 08:48 PM Re: Linux slave DNS server config
mjstone03 Offline
newbie

Registered: 10/06/04
Posts: 26
Okay- I configured the named.conf file and the windows server successfully pushes the zones. However when I check the log/messages file it says that the zone was transfered, followed by 'dumping master file-.....-: open: permission denied' something or other, followed by a 'failed while receiving responses, permission denied'. Not sure what to do at this point. It looks right. Here's what I've got-
The global options are default(directory, statistics-file)

};
controls {
inet 127.0.0.0 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "abc.com" IN {
type slave;
masters { 192.168.1.254;
}
file "slave.abc.com";
};
zone "1.168.192.in-addr.arpa" IN {
type slave;
masters { 192.168.1.254;
}
file "slave.1.168.192";
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
include "/etc/rndc.key";

Top


Forums
Windows Support Forums
Everything New Technology
Legacy OS
Hardware
Software
Games
Networking
Customization & Tweaking
Security

Linux Support Forums
Everything Linux
Linux Hardware
Linux Software
Linux Games
Linux Networking
Linux Customization & Tweaking
Linux Security

Apple Support Forums
Everything Apple
Recent Topics
x86 OS, RAM, & Virtual Machines
by Myke
12/22/09 08:16 PM
Ram Question
by JohnnyAshes
12/21/09 09:50 PM
NEWBIE needs help with REALTEK
by SerryJW
12/21/09 06:09 AM
What version of Linux is this?
by DxxLinux
12/15/09 07:59 PM
Anything like HyperCam?
by Luckycharm8989
12/11/09 02:08 PM
Who's Online
1 Registered (Philipp), 185 Guests and 19 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
91391 Members
24 Forums
59243 Topics
189768 Posts

Max Online: 1079 @ 03/12/08 01:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22