why my bind 9.2.1 is not working?

Johnny Giger giger2 at freesurf.ch
Thu Oct 23 13:58:39 UTC 2003


Hi dns engnieers
I need help on my new configuration. I want put ns1.helpme.ch and
ns2.helpme.ch to the world wide web.
diagnostic with 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
> localhost
Server:         192.168.1.254
Address:        192.168.1.254#53

** server can't find localhost: NXDOMAIN
> ns1.helpme.ch
Server:         192.168.1.254
Address:        192.168.1.254#53

** server can't find ns1.helpme.ch: NXDOMAIN
>
************************************************************
here you can see all the configuration files:
************************************************************

***************************************
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#~






More information about the bind-users mailing list