Server can't find nameserver

Gregory Hicks ghicks at cadence.com
Thu Oct 23 17:28:54 UTC 2003


> To: comp-protocols-dns-bind at isc.org
> Date: Thu, 23 Oct 2003 09:28:21 +0200
> From: Johnny Begod <johnny.giger at sunrise.ch>
> Subject: Server can't find nameserver
> 
> Hi all
> my eyes can not believe that since 2 weeks I am trying to bring my names 
> server NS1.helpme.ch and ns2.helpme.ch
> to the worldwide net. My one maschine is not knowing that he is a name 
> server. I am use nslookup and dig.
>  127.0.0.1
> Server:         192.168.1.254
> Address:        192.168.1.254#53
> 
> ** server can't find 1.0.0.127.in-addr.arpa: NXDOMAIN
>  >
> 
>  > ns1.helpme.ch
> Server:         192.168.1.254
> Address:        192.168.1.254#53
> 
> ** server can't find ns1.helpme.ch: NXDOMAIN
>  >
> 
> 
> 
> WAN:  212.98.47.68
> ETHO 192.168.1.247
> 
> Many thank for any help!
> Regards
> My name is Johnny
> 
> ***************************************
> this is my named.conf: /etc/
> ***************************************
> options {
>         directory "/var/named";
> };
> zone "." IN {
>         type hint;
>         file "named.ca";
> };
>   zone "localhost" IN  {
>           type master;
>           file "localhost.zone";
>         allow-update { none; };
>   };
> zone "0.0.127.in-addr.arpa" IN  {
>         type master;
>         file "127.0.0.rev";
>         allow-update { none; };
> };
>   zone "helpme.ch" IN {
>           type master;
>           file "helpme.ch.db";
>   };
>   zone "168.1.192.in-addr.arpa" IN {
>             type master;
>             file "192.1.168.247.rev";
>   };

This probably should be 

>   zone "168.1.192.in-addr.arpa" IN {

    zone "1.168.192.in-addr.arpa" ...

You might want to change the file name as well so you keep things straight but 
this is not necessary.

> ~
> 
> *******************************************
> "localhost.zone"      /var/named/
> *******************************************
> @                          IN SOA       @ root (
>                                 2003101705              ; serial
>                                         3H              ; refresh
>                                         15M             ; retry
>                                         1W              ; expiry
>                                         1D )            ; minimum
> 
>                            IN NS        @
>                            IN A         127.0.0.1
> ~
> ~
> ~
> ~***********************************************
> this is "127.0.0.rev"  /var/named/
> ************************************************
> 
> @                        IN      SOA     ns1.helpme.ch. 
> hostmaster.helpme.ch. (
>                                 2003101705       ; Serial
>                                        8H      ; Refresh
>                                        2H      ; Retry
>                                        1W      ; Expire
>                                        1D)     ; Minimum TTL
>                          IN    NS      ns1.helpme.ch.
>                          IN    NS      ns2.helpme.ch.
> 1                              PTR     localhost.
> 
> ~
> ~
> ***************************************************
> this is my helpme.ch.db
> ***************************************************
> @              IN  SOA   helpme.ch. hostmaster.helpme.ch (
>                         2003101703       ; serial secs since Jan 1 1970
>                         6H              ; refresh (>=10000)
>                         1H              ; retry (>=1800)
>                         1W              ; expire
>                         1H              ; minimum
>                 )
>                 IN      NS      ns1.helpme.ch.
>                 IN      NS      ns2.helpme.ch.
> 
> 
>                 IN      MX      10 127.0.0.1     ; the mailer host
>                 IN      MX      80 127.0.0.1     ; the secondary mailer host
> 
> 
> 
> www             IN      A       192.168.1.247
> ftp             IN      A       192.168.1.247
> pop             IN      A       192.168.1.247
> ns1             IN      A       192.168.1.247
> ns2             IN      A       192.168.1.247
> mail            IN      A       192.168.1.247 ; mail server
> @               IN      A       192.168.1.247 ; ohne wwww
> ~
> ~
> ~
> ***********************************************************
> this is my revers 192.1.168.247.rev
> this is also my ethernet IP adress
> **********************************************************
> @      IN      SOA      ns1.helpme.ch    hostmaster.helpme.ch (
>                                   2003101702        ; Serial
>                                   10800                    ;refresh 3hour
>                                   3600                       ;   retry 1hour
>                                   604800                  ; expire 1 week
>                                   3600                       ; minium 
> ttl. 1hour
>                          )
> 
>               IN       NS     ns1.helpme.ch.             ; the primary 
> nameserver
>               IN       NS     ns2.helpme.ch              ; the secondary 
> namesser
> 
> 
> 247       IN       PTR    helpme.ch
> 247       IN       PTR    ns1.helpme.ch
> 247       IN       PTR    ns2.helpme.ch
> 247       IN       PTR    www.helpme.ch
> 247       IN       PTR    ftp.helpme.ch
> 247       IN       PTR    mail.helpme.ch
> 247       IN       PTR    mail.helpme.ch
> ~
> ~
> 
> *****************************************************************************
> 
> so that is all: server is runnning
> 
> root at linux:/var/named# rndc status
> number of zones: 6
> debug level: 0
> xfers running: 0
> xfers deferred: 0
> soa queries in progress: 0
> query logging is OFF
> server is up and running
> root at linux:/var/named#~
> 
> 

-------------------------------------------------------------------
Gregory Hicks                        | Principal Systems Engineer
Cadence Design Systems               | Direct:   408.576.3609
555 River Oaks Pkwy M/S 6B1          | Fax:      408.894.3400
San Jose, CA 95134                   | Internet: ghicks at cadence.com

"The trouble with doing anything right the first time is that nobody
appreciates how difficult it was."

When a team of dedicated individuals makes a commitment to act as
one...  the sky's the limit.

Just because "We've always done it that way" is not necessarily a good
reason to continue to do so...  Grace Hopper, Rear Admiral, United
States Navy



More information about the bind-users mailing list