DNS Master/Slave - unexpected rcode servfail

Discussion in 'Server Operation' started by nbakewell, Nov 24, 2008.

  1. nbakewell

    nbakewell New Member

    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?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you setup the slave zone with ISPConfig?
     
  3. nbakewell

    nbakewell New Member

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

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  5. falko

    falko Super Moderator ISPConfig Developer

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

    nbakewell New Member

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

    falko Super Moderator ISPConfig Developer

    But you've configured linux.cs460 as a slave for that zone:
    Code:
    zone "windows.cs460." IN {
         type [B][COLOR="Red"]slave[/COLOR][/B];
         file "windows.cs460.zone";
         masters { 192.168.10.120 ; };
    };
     

Share This Page