HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   DNS Master/Slave - unexpected rcode servfail (http://www.howtoforge.com/forums/showthread.php?t=28932)

nbakewell 24th November 2008 17:36

DNS Master/Slave - unexpected rcode servfail
 
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):

Code:

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:

Code:

ping: unknown host dnsnsbwingate.windows.cs460
When I restart named.conf my logs show this:

Code:

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:

Code:

; <<>> 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 17:48

Did you setup the slave zone with ISPConfig?

nbakewell 24th November 2008 18:55

Using ISPConfig on Redhat? Or on Windows? No, I don't recall issuing any ISPConfig commands...

till 24th November 2008 20: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 17:00

Where's the master for the windows.cs460 zone?

nbakewell 25th November 2008 17:21

The master for windows.cs460 is linux.cs460, on Redhat.

falko 26th November 2008 14:07

But you've configured linux.cs460 as a slave for that zone:
Code:

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



All times are GMT +2. The time now is 12:22.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.