|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Junior Member
Iscritto dal: May 2005
Messaggi: 20
|
Problema Dns
Salve, volevo creare nella mia rete domestica 192.168.1.0/26, un dns server con Linux Fedora Core 4. I miei file di configurazione sono:
#####named.conf:########## options { directory "/var/named"; /* * If there is a firewall between you and nameservers you want * to talk to, you might need to uncomment the query-source * directive below. Previous versions of BIND always asked * questions using port 53, but BIND 8.1 uses an unprivileged * port by default. */ // query-source address * port 53; }; controls { inet 127.0.0.1 allow { localhost; } keys { rndckey; }; }; 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 "named.local"; allow-update { none; }; }; zone "pippo.net." IN { type master; notify no; file "pippo.net.db"; allow-update { none; }; }; zone "1.168.192.in-addr.arpa." IN { type master; notify no; file "192.168.1.db"; allow-update { none; }; }; include "/etc/rndc.key"; #####192.168.1.db#################### $TTL 86400 @ SOA ns.pippo.net. root.pippo.net. ( 2004012300 ; Serial 3H ; Refresh 15M ; Retry 1W ; Expire 1D ) ; Minium IN NS ns.pippo.net. 254 IN PTR ns.pippo.net. ######pippo.net.db################## $TTL 86400 @ SOA ns.pippo.net. root.pippo.net. ( 2004012300 ; Serial 3H ; Refresh 15M ; Retry 1W ; Expire 1D ) ; Minium IN NS ns ns IN A 192.168.1.254 ################################# Il mio problema è che quando eseguo dig ns.pippo.net mi da come risp: ; <<>> DiG 9.3.1 <<>> ns.pippo.net ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 42971 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;ns.pippo.net. IN A ;; AUTHORITY SECTION: pippo.net. 3600 IN SOA ns. pippo.net. root.pippo.net. 1 10800 3600 604800 3600 ;; Query time: 5 msec ;; SERVER: 192.168.1.254#53(192.168.1.254) ;; WHEN: Sat May 6 12: 24:59 2006 ;; MSG SIZE rcvd: 71 Perchè il DNS server non risponde ? Ho sbagliato nelle configurazioni ? Grazie. |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 03:56.