> -----Original Message-----
> From: Dana Holland
> Sent: Friday, March 21, 2003 3:53 PM
> Subject: DNS problems
>
>
> I'm having trouble getting secondary DNS working on my RH 8.0
> box. This is my first attempt at using a Linux box for DNS -
> in the past I've always worked with AIX. The primary DNS
> server is on AIX currently.
>
> Below is the output for the dig commands - dns... is the
> primary server, while dns2... is the secondary server.
> My ISP has told me that the ANSWER section needs to match -
> and it doesn't.
Your ISP is correct. Based on your query to dns2, it looks like it is NOT
pulling the primaries zones. i.e. configured as a slave zone.
Double check your zone definition on dns2 and also insure that your primary
is configured to ALLOW dns2 to pull these zones. i.e. the "allow-transfer"
directive.
Example:
On my primary 192.168.9.2... slave's ip is 192.168.8.2
# Load the internal mydomain.com zone as master
zone "mydomain.com" in {
type master;
notify yes;
allow-update { key dhcp_updater; };
allow-transfer { 192.168.8.2; };
file "int/db.mydomain";
};
# Load the internal 192.168.9.0/24 reverse zone
zone "9.168.192.in-addr.arpa" in {
type master;
notify yes;
allow-update { key dhcp_updater; };
allow-transfer { 192.168.8.2; };
file "int/db.192.168.9";
};
On my secondary name server...
# Load the internal mydomain.com zone as slave
zone "mydomain.com" in {
type slave;
file "int/db.mydomain";
masters { 192.168.9.2; } ;
};
# Load the internal 192.168.9.0/24 reverse zone as slave
zone "9.168.192.in-addr.arpa" in {
type slave;
file "int/db.192.168.9";
masters { 192.168.9.2; } ;
};
Steve Cowles
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list