View Single Post
  #17  
Old 22nd September 2010, 22:55
baskin baskin is offline
Senior Member
 
Join Date: Jan 2008
Location: Syros, Greece
Posts: 118
Thanks: 9
Thanked 8 Times in 8 Posts
Default

Ok i have done the migration to bind. Zone files have been created successfully in /etc/named.d also zone files are listed in /etc/named.conf.include but the name server does not respond to the requests.

Forwarders seem to work only from the same machine (the server itself).

From the server itself:

Code:
dig @localhost www.suse.de

; <<>> DiG 9.5.0-P2 <<>> @localhost www.suse.de
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28155
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 3, ADDITIONAL: 3

;; QUESTION SECTION:
;www.suse.de.                   IN      A

;; ANSWER SECTION:
www.suse.de.            4917    IN      CNAME   turing.suse.de.
turing.suse.de.         462     IN      A       195.135.220.3

;; AUTHORITY SECTION:
suse.de.                5945    IN      NS      ns.novell.co.uk.
suse.de.                5945    IN      NS      ns.novell.com.
suse.de.                5945    IN      NS      ns.suse.de.

;; ADDITIONAL SECTION:
ns.suse.de.             9602    IN      A       195.135.220.2
ns.novell.co.uk.        4953    IN      A       130.57.40.66
ns.novell.com.          21413   IN      A       137.65.1.1

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Sep 22 22:48:36 2010
;; MSG SIZE  rcvd: 187
This is ok but for one of the zone that i have:

Code:
dig @localhost router1.alimonos.cywn

; <<>> DiG 9.5.0-P2 <<>> @localhost router1.alimonos.cywn
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 54708
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;router1.alimonos.cywn.         IN      A

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Sep 22 22:50:10 2010
;; MSG SIZE  rcvd: 39
The zone file for this zone is:

Code:
$TTL        86400
@       IN      SOA     aragorn.kernel-port.cywn. cywinet.gmail.com. (
                        2010092206       ; serial, todays date + todays serial #
                        28800              ; refresh, seconds
                        7200              ; retry, seconds
                        604800              ; expire, seconds
                        86400 )            ; minimum, seconds
;

ap1      A        10.215.10.2
palam2fw      A        10.215.10.98
router1      A        10.215.10.113
and /etc/named.conf.include has:

Code:
zone "alimonos.cywn" {
        type master;
        allow-transfer {10.215.2.126; 10.215.11.100;};
        file "/etc/named.d/pri.alimonos.cywn";
Also from other machines on the network i get this even for forwarded domains.

Code:
dig @10.215.0.125 router1.alimonos.cywn

; <<>> DiG 9.7.1 <<>> @10.215.0.125 router1.alimonos.cywn
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 57715
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;router1.alimonos.cywn.         IN      A

;; Query time: 2 msec
;; SERVER: 10.215.0.125#53(10.215.0.125)
;; WHEN: Wed Sep 22 22:53:01 2010
;; MSG SIZE  rcvd: 39
What have i missed. It is my main DNS server on a wireless community network and i'm in trouble.
Reply With Quote