bind9 domain läuft nicht

Alle weiteren Dienste, die nicht in die drei oberen Foren gehören.
Antworten
Nukular
Beiträge: 52
Registriert: 13.06.2005 16:23:01

bind9 domain läuft nicht

Beitrag von Nukular » 01.07.2005 10:40:54

Ich versuche mich gerade daran einen dns-server für ein netzwerk aufzubauen. Zur Zeit wird zwar nur eine Domain benötigt, aber ich würde das Ganze gern via bind9 lösen.
Laut logfiles ist mit Bind9 alles ok, allerding kann die Domain im Netzwerk nicht aufgelöst werden.
Ich denke mal ich hab da irgendwas falsch konfiguriert.

Hier mal meine Dateien:
ServerIP: 10.1.222.200 = Webserver / DNS

named.conf

Code: Alles auswählen

// prime the server with knowledge of the root servers                                                                             
zone "." {                                                                                                                         
        type hint;                                                                                                                 
        file "/etc/bind/db.root";                                                                                                  
};                                                                                                                                 
                                                                                                                                   
// be authoritative for the localhost forward and reverse zones, and for                                                           
// broadcast zones as per RFC 1912                                                                                                 
                                                                                                                                   
zone "localhost" {                                                                                                                 
        type master;                                                                                                               
        file "/etc/bind/db.local";                                                                                                 
};                                                                                                                                 
                                                                                                                                   
zone "127.in-addr.arpa" {                                                                                                          
        type master;                                                                                                               
        file "/etc/bind/db.127";                                                                                                   
};                                                                                                                                 
                                                                                                                                   
zone "0.in-addr.arpa" {                                                                                                            
        type master;                                                                                                               
        file "/etc/bind/db.0";                                                                                                     
};                                                                                                                                 
                                                                                                                                   
zone "255.in-addr.arpa" {                                                                                                          
        type master;                                                                                                               
        file "/etc/bind/db.255";                                                                                                   
};                                                                                                                                 
                                                                                                                                   
zone "222.1.10.in-addr.arpa" {                                                                                                     
type master;                                                                                                                       
file "/etc/bind/default.zone";                                                                                                     
};                                                                                                                                 
                                                                                                                                   
zone "intranet.hgz" {                                                                                                              
type master;                                                                                                                       
file "/etc/bind/intranet.zone";                                                                                                    
allow-query { 127/8; 10.1.0.0/24; }; 

named.conf.local

Code: Alles auswählen

zone "intranet"  { type master; file "/etc/bind/intranet.zone"; };    
named.conf.options

Code: Alles auswählen

                                                                                                                                   
        notify yes;                                                                                                                
        listen-on port 53 { 127.0.0.1; 10.1.222.200; };                                                                            
        listen-on-v6 { none; };                                                                                                    
        allow-query { 127.0.0.1; 10.1.222.200; };                                                                                  
        allow-recursion { 127.0.0.1; 10.1.222.200; };                                                                              
                                                                                                                                   
        forwarders {                                                                                                               
        10.1.6.50;                                                                                                                 
        };                                                                                                                         
                                                                                                                                   
        auth-nxdomain no;    # conform to RFC1035                                                                                  

intranet.zone

Code: Alles auswählen

$TTL 1W                                                                                                                            
@                       IN      SOA     ns.intranet.hgz.        root.intranet.hgz. (                                               
                                        2003022406              ; serial                                                           
                                        8H                      ; refresh                                                          
                                        2H                      ; retry                                                            
                                        1W                      ; expiry                                                           
                                        11h )                   ; minimum                                                          
                                                                                                                                   
                        IN      NS      ns                                                                                         
                                                                                                                                   
                        IN      A       10.1.222.200                                                                               
*                       IN      A       10.1.222.200

dig @localhost intranet.hgz

Code: Alles auswählen

; <<>> DiG 9.2.4 <<>> @localhost intranet.hgz
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56214
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;intranet.hgz.                  IN      A

;; ANSWER SECTION:
intranet.hgz.           604800  IN      A       10.1.222.200

;; AUTHORITY SECTION:
intranet.hgz.           604800  IN      NS      ns.intranet.hgz.

;; ADDITIONAL SECTION:
ns.intranet.hgz.        604800  IN      A       10.1.222.200

;; Query time: 18 msec
;; SERVER: 127.0.0.1#53(localhost)
;; WHEN: Fri Jul  1 10:45:58 2005
;; MSG SIZE  rcvd: 79

Nukular
Beiträge: 52
Registriert: 13.06.2005 16:23:01

Beitrag von Nukular » 01.07.2005 15:36:00

hmm kennen sich wirklich sowenige mit bind9 bzw dns aus? :(

Antworten