Localhost-Lookup

Peter Lohmann kleinhirn at peter-lohmann.de
Fri Apr 21 15:46:26 CEST 2000


Moin!

Ich hab ein wirklich merkwürdiges Problem mit meinem Nameserver, und zwar
scheint der einfach die localhost-Eintrage zu übersehen. Für einen ping
localhost oder nslookup localhost will bind immer seinen master fragen... 

So ist die Kiste konfiguriert:

options { 
        directory "/var/named";         
        listen-on { 192.168.0.1;192.168.10.1;127.0.0.1; };
        check-names master warn;  
        datasize default;
        stacksize default;         
        coresize default; 
        files unlimited;  
        recursion yes;  
        multiple-cnames no;  
        forward only;  
        forwarders { 
               194.245.74.2;
                   };
         };

zone "." {
        type hint;
        file "named.root";
};
 
 
zone "localhost" {
        type master;
        file "named.local";
        check-names fail;
        allow-update { none; };
}; 

zone "127.in-addr.arpa" {
        type master;
        file "named.rev-local";
        check-names fail;
        allow-update { none; };
};

Die einzelnen Files sehen so aus:

gate:/var/named# cat named.local
;
; BIND data file for local loopback interface
;
@       IN      SOA     localhost. root.localhost. (
                                2000011003      ; Serial (yymmddxx)
                                10800           ; Refresh 3 hours
                                3600            ; Retry   1 hour
                                3600000         ; Expire  1000 hours
                                86400 )         ; Minimum 24 hours
;
@       IN      NS      localhost.
@       IN      A       127.0.0.1 

gate:/var/named# cat named.rev-local  
;
; BIND reverse data file for local loopback interface
;
@       IN      SOA     localhost. root.localhost. (
                                2000011003      ; Serial (yymmddxx)
                                10800           ; Refresh 3 hours
                                3600            ; Retry   1 hour
                                3600000         ; Expire  1000 hours
                                86400 )         ; Minimum 24 hours
;
@       IN      NS      localhost.
1.0.0   IN      PTR     localhost.


Ich benutze Debian Slink und named 8.2.2-P5-NOESW Fri Nov 19 12:28:17

Was läuft da falsch?



Grüße

Peter
-- 
Peter Lohmann         kleinhirn at peter-lohmann.de          Tel.: 05207/920446
www.openstuff.de - Linux-Stofftiere, Linux-Mousepads, Linux-Tastaturen, Koffein-
Getränke - alles was den Linuxfan begeistert :-)

-
Hinweise zur Benutzung dieser (und anderer Mailing-Listen) bitte beachten:
--> http://lug-owl.de/mailinglist_hints.html <--



More information about the Linux mailing list