Server can't find nameserver -> configuration problems

Mark_Andrews at isc.org Mark_Andrews at isc.org
Thu Oct 23 22:13:59 UTC 2003


> 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 nameserver. For diagnostic I am
> use nslookup and dig.

	Try "dig -x 127.0.0.1 @127.0.0.1"
	Try "dig ns1.helpme.ch @127.0.0.1"

	Next update resolv.conf.

> nslookup 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
> >
> 
> My IP adresses:
> 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";
> };
> ~
> *******************************************
> "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#~
> 
> 
> 
> 
> 
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list