Hallo liebe Ubuntu Gemeinde,
ich habe auf einem Ubuntu 16.04 Server bind9 installiert und konfiguriert. Jedoch habe ich Probleme bei der Auflösung von lokalen Hosts.
1 2 3 4 5 | root@lenny:/var/log# nslookup lenny.mancina.home Server: 192.168.1.150 Address: 192.168.1.150#53 ** server can't find lenny.mancina.home: NXDOMAIN |
Extern Funktioniert:
1 2 3 4 5 6 7 | root@lenny:/var/log# nslookup google.com Server: 192.168.1.150 Address: 192.168.1.150#53 Non-authoritative answer: Name: google.com Address: 216.58.205.110 |
Named-checkzone:
1 2 3 | named-checkzone db.mancina.home ./db.mancina.home zone db.mancina.home/IN: loaded serial 22 OK |
Hier meine confs:
1 2 3 4 5 6 7 8 9 10 11 12 | $TTL 2D @ IN SOA localhost.mancina.home. root.mancina.home. ( 22 ; Serial 8H ; Refresh 2H ; Retry 4W ; Expire 3H ) @ IN NS localhost.mancina.home. IN A 192.168.1.150 lenny IN A 192.168.1.150 homer IN A 192.168.1.110 |
1 2 3 4 5 6 7 8 9 10 11 12 | root@lenny:/etc/bind# cat db.1.168.192 $TTL 2D @ IN SOA localhost.mancina.home. root.mancina.home. ( 2 ; Serial 8H ; Refresh 2H ; Retry 4W ; Expire 3H ) @ IN NS localhost.mancina.home. 150 IN PTR lenny.mancina.home. 110 IN PTR homer.mancina.home. |
named.local.conf
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | zone "mancina.home" { type master; file "/etc/bind/db.mancina.home"; }; zone "1.168.192.in-addr.arpa" { type master; file "/etc/bind/db.1.168.192"; }; named.conf.options {{{#!code text options { directory "/var/cache/bind"; forwarders { 8.8.8.8 ; }; dnssec-validation auto; auth-nxdomain no; # conform to RFC1035 listen-on-v6 { any; }; }; |
}}}
Danke im voraus und ich hoffe mir kann hier jemand weiterhelfen.
Moderiert von misterunknown:
Uppercase-Geschrei im Titel entfernt 😉