Static IP resolving in BIND 8.x

Sparro, Dave dsparro at gnilink.net
Thu Feb 7 15:19:36 UTC 2002


Remember you're already in the foo.foobar.com zone as defined in named.conf.
with the configuration you used, ns.foo.foobar.com and foo.foo.foobar.com
should resolve.

Dave 

-----Original Message-----
From: Oliver Neumann
To: comp-protocols-dns-bind at moderators.isc.org
Sent: 2/6/2002 10:44 AM
Subject: Re: Static IP resolving in BIND 8.x

I did that, but this did not work.

Here are the two files :

-x-x- named.conf -x-x-
[...]
zone "foo.foobar.com" IN {
        type master;
        notify no;
        file "foobar.com.zone";
};

-x-x- named conf -x-x-

and

-x-x- foobar.com.zone -x-x-

$TTL    3D
@       IN      SOA     foo.foobar.com. root.foo.foobar.com. (
                                      2002020601; Serial
                                      8H        ; Refresh
                                      2H        ; Retry
                                      4W        ; Expire
                                      1D )      ; Minimum
                NS      @
                MX      10      @

ns      A       100.100.100.100

foo    CNAME   ns

-x-x- foobar.com.zone -x-x-

Any more hints why I get this?

-x-x-
lxserver:/var/named # dig @localhost foo.foobar.com

; <<>> DiG 8.3 <<>> @localhost foo.foobar.com
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;;      foo.foobar.com, type = A, class = IN

;; AUTHORITY SECTION:
foo.foobar.com.  1D IN SOA  foo.foobar.com. root.foo.foobar.com. (
                                        2002020601      ; serial
                                        8H              ; refresh
                                        2H              ; retry
                                        4W              ; expiry
                                        1D )            ; minimum


;; Total query time: 1 msec
;; FROM: lxdev1mz to SERVER: localhost  127.0.0.1
;; WHEN: Wed Feb  6 16:41:23 2002
;; MSG SIZE  sent: 40  rcvd: 81
-x-x-

and

-x-x-
lxserver:/var/named # traceroute foo.foobar.com
traceroute: unknown host foo.foobar.com
-x-x-




More information about the bind-users mailing list