PDA

View Full Version : DNS Master/Slave - unexpected rcode servfail


nbakewell
24th November 2008, 18:36
Hello,

I'm having some troubles setting up a master/slave configuration for my DNS. Right now I have a Redhat server (dnsnsbrhgate.linux.cs460) and a Windows server (dnsnsbwingate.windows.cs460) and I am trying to set the Windows DNS up as a slave on the Redhat server. My named.conf looks like this (snipped to important part):

zone "linux.cs460." IN {
type master;
file "linux.cs460.zone";
};

zone "10.68.192.in-addr.arpa." IN {
type master;
file "192.168.10.zone";
};

zone "windows.cs460." IN {
type slave;
file "windows.cs460.zone";
masters { 192.168.10.120 ; };
};

I have a windows.cs460.zone file where all my other zone files are, however it is empty (I am under the impression that this does not need to be filled in?)

The error that I am getting when I try to ping dnsnsbwingate.windows.cs460 is:

ping: unknown host dnsnsbwingate.windows.cs460

When I restart named.conf my logs show this:

zone windows.cs460/IN: refresh: unexpected rcode (SERVFAIL) from master 192.168.10.120#53 (source 0.0.0.0#0)

The results of me digging dnsnsbwingate.windows.cs460 is:

; <<>> DIG 9.3.4-P! <<>> dnsnsbwingate.windows.cs460
;; global options: printcmd
;; Got answer
;; ->>HEADER<<- opcode: query, status: SERVFAIL, id: 21161
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION
; dnsnsbwingate.windows.cs460. IN A

;; Query time 6 msec
;; SERVER 192.168.10.120#53(192.168.10.120)
;; WHEN Mon Nov 24 12:20:27 2008
;; MSG SIZE rcvd: 45

Any ideas?

till
24th November 2008, 18:48
Did you setup the slave zone with ISPConfig?

nbakewell
24th November 2008, 19:55
Using ISPConfig on Redhat? Or on Windows? No, I don't recall issuing any ISPConfig commands...

till
24th November 2008, 21:16
You posted this in the forum for the ISPConfig hosting control panel. I will move you post to another forum as you dont semm to use ISPConfig.

falko
25th November 2008, 18:00
Where's the master for the windows.cs460 zone?

nbakewell
25th November 2008, 18:21
The master for windows.cs460 is linux.cs460, on Redhat.

falko
26th November 2008, 15:07
But you've configured linux.cs460 as a slave for that zone:
zone "windows.cs460." IN {
type slave;
file "windows.cs460.zone";
masters { 192.168.10.120 ; };
};