Could not setup DNS

Discussion in 'Installation/Configuration' started by k0d1, Feb 22, 2008.

  1. k0d1

    k0d1 New Member

    Could not setup zone tapiart.ru
    In result of DNS Setup using ISPConfig on SuSE 10.3 I've got:
    named.conf
    Code:
    options {
            pid-file "/var/lib/named/var/run/named/named.pid";
            directory "/var/lib/named";
            auth-nxdomain no;
            /*
             * If there is a firewall between you and nameservers you want
             * to talk to, you might need to uncomment the query-source
             * directive below.  Previous versions of BIND always asked
             * questions using port 53, but BIND 8.1 uses an unprivileged
             * port by default.
             */
            // query-source address * port 53;
    };
    
    //
    // a caching only nameserver config
    //
    zone "." {
            type hint;
            file "root.hint";
    };
    
    zone "0.0.127.in-addr.arpa" {
            type master;
            file "127.0.0.zone";
    };
    
    zone "199.10.85.in-addr.arpa" {
            type master;
            file "pri.199.10.85.in-addr.arpa";
    };
    
    
    zone "tapiart.ru" {
            type master;
            file "pri.tapiart.ru";
    };
    
    
    zone "slave.tapiart.ru" {
            type slave;
            file "sec.slave.tapiart.ru";
            masters { 78.47.81.198; };
    };
    
    pri.tapiart.ru
    Code:
    $TTL        86400
    @       IN      SOA     78.47.81.198. k0d1.inimatic.com. (
                            2008021902       ; serial, todays date + todays serial #
                            28800              ; refresh, seconds
                            7200              ; retry, seconds
                            604800              ; expire, seconds
                            86400 )            ; minimum, seconds
    ;
                    NS      78.47.81.198.              ; Inet Address of name server 1
                    NS      78.47.81.199.              ; Inet Address of name server 2
    ;
    
    tapiart  MX      10 tapiart.ru.
    
    tapiart.ru.      A        85.10.199.145
    tapiart       A       85.10.199.145
    www.tapiart.ru.       TXT  "v=spf1 a mx ptr ~all"
    
    log messages
    Code:
    : starting BIND 9.4.1-P1 -t /var/lib/named -u named
    : found 1 CPU, using 1 worker thread
    : loading configuration from '/etc/named.conf'
    : listening on IPv4 interface lo, 127.0.0.1#53
    : listening on IPv4 interface eth0, 85.10.199.145#53
    : listening on IPv4 interface eth0, 78.47.81.198#53
    : listening on IPv4 interface eth0, 78.47.81.199#53
    : automatic empty zone: 127.IN-ADDR.ARPA
    : automatic empty zone: 254.169.IN-ADDR.ARPA
    : automatic empty zone: 2.0.192.IN-ADDR.ARPA
    : automatic empty zone: 255.255.255.255.IN-ADDR.ARPA
    : automatic empty zone: 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.
    : automatic empty zone: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.
    : automatic empty zone: D.F.IP6.ARPA
    : automatic empty zone: 8.E.F.IP6.ARPA
    : automatic empty zone: 9.E.F.IP6.ARPA
    : automatic empty zone: A.E.F.IP6.ARPA
    : automatic empty zone: B.E.F.IP6.ARPA
    : command channel listening on 127.0.0.1#953
    : command channel listening on ::1#953
    : zone 0.0.127.in-addr.arpa/IN: loaded serial 42
    : zone 199.10.85.in-addr.arpa/IN: loaded serial 2008021901
    : zone tapiart.ru/IN: loaded serial 2008021902
    : running
    : zone tapiart.ru/IN: sending notifies (serial 2008021902)
    : zone 199.10.85.in-addr.arpa/IN: sending notifies (serial 2008021901)
    : checkhints: L.ROOT-SERVERS.NET/A (199.7.83.42) missing from hints
    : checkhints: L.ROOT-SERVERS.NET/A (198.32.64.12) extra record in hints
    : zone slave.tapiart.ru/IN: refresh: unexpected rcode (SERVFAIL) from master 78.47.81.198
    
    Question tapiart.ru has no Answer.
    Code:
    openSUSE-103-32-minimal:/var/lib/named # dig tapiart.ru
    
    ; <<>> DiG 9.4.1-P1 <<>> tapiart.ru
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31029
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;tapiart.ru.                    IN      A
    
    ;; Query time: 123 msec
    ;; SERVER: 213.133.98.98#53(213.133.98.98)
    ;; WHEN: Tue Feb 19 21:54:23 2008
    ;; MSG SIZE  rcvd: 28
    
     
    Last edited: Feb 22, 2008
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you configure your dns server as described in the perfect setup guide for OpenSuSE?

    Also, are these lines really in the named.conf file or are they artefacts from copying to the forum:

    named.conf [----] 0 L:[ 19+30 49/ 49] *(1041/1041b)= <EOF>
    type hint;
    file "root.hint";
    };
     
  3. k0d1

    k0d1 New Member

    DNS was setup as described in the perfect setup guide for OpenSuSE

    Hello Till. Thank for your attention.
    1. DNS was setup as described in the perfect setup guide for OpenSuSE and admin manual.
    Everyting looks good but it has no DNS answer...
    I spend a day trying to fix it.

    2. I correct my copy/past named.conf content in first message. As You can see in loga messages there is no error: "zone tapiart.ru/IN: loaded serial 2008021902".

    3. I obtain my mistake in dig command. The right is dig @78.47.81.198 tapiart.ru. So I get the answer.
     
    Last edited: Feb 22, 2008
  4. falko

    falko Super Moderator ISPConfig Developer

    It's working for me:

    Code:
    mh1:~# dig tapiart.ru
    
    ; <<>> DiG 9.3.4 <<>> tapiart.ru
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35106
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;tapiart.ru.                    IN      A
    
    ;; ANSWER SECTION:
    tapiart.ru.             86400   IN      A       85.10.199.145
    
    ;; Query time: 71 msec
    ;; SERVER: 213.191.92.84#53(213.191.92.84)
    ;; WHEN: Sat Feb 23 16:58:19 2008
    ;; MSG SIZE  rcvd: 44
    
    mh1:~#
     

Share This Page