bind 9.1.2 zonefile trouble

phn at icke-reklam.ipsec.nu phn at icke-reklam.ipsec.nu
Thu Mar 14 19:48:56 UTC 2002


SBiella <sbiella at hal9001.net> wrote:

> hi all,
> I have a master nameserver running bind 8, I need to switch to a new
> server running bind 9.1.2, I have copied the named.conf and the zone
> files from the old to the new server. The new server starts and works
> fine with the cache and the root zone, but It doesn't resolve any
> address from the master zone files.


One: there is no real sense in using bind-9.1.2 , several things
have been fixed that motivates using current (9.2.0 )

two: whats written in the logfile ? May i guess "missing 4TTL " ??

three : it does answer right now : 
dig cobest.com. a @mz01.vnet.it.
; <<>> DiG 8.3 <<>> cobest.com. a @mz01.vnet.it. 
; (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: 1, AUTHORITY: 2, ADDITIONAL: 2
             ^
           Auth bit
;; ANSWER SECTION:
cobest.com.             1H IN A         195.191.47.238

peter h

> I can not find where is the error... any help? :-)

> This is a master zone file:

> @       IN      SOA     cobest.com. hostmaster.vnet.it (
>                         2002031313      ; serial, todays date + todays
> serial n
>                         300             ; Refresh - 5 Minutes
>                         60              ; Retry - 1 minute
>                         1209600         ; Expire - 2 Weeks
>                         43200)          ; Minimum - 12 Hours
> ;
>                 TXT     "Cobest srl"
>                 NS      mz01.vnet.it.        ; Inet Address of name
> server
>                 NS      mz02.vnet.it.
>                 MX      10 mail.vnet.it.    ; Primary Mail Exchanger
>                 MX      20 mail.hal9001.net.      ; Secondary Mail
> Exchanger
> ;
> cobest.com.     A       195.191.47.238
> ;
> www               CNAME   cobest.com.
> and this is the named.conf file:

> options {
>         directory "/var/named";
>         query-source address * port 53;
>         allow-transfer {
>             80.16.61.155;
>             80.16.61.156;
>             80.16.61.147;
>             151.99.125.3;
>         };
>         listen-on port 53 {
>             80.16.61.146;
>         };
> };
>  
> logging {
>         category lame-servers { null; };
>         category cname { null; };
> };
>  
> zone "." {
>         type hint;
>         file "root.hints";
> };
>  
> zone "0.0.127.in-addr.arpa" {
>         type master;
>         file "pz2/0.0.127.in-addr.arpa";
> };
>  
> zone "cobest.com" {
>           type master;
>           file "pz2/cobest.com";
> };


-- 
Peter Håkanson         
        IPSec  Sverige      (At the Riverside of Gothenburg, home of Volvo)
           Sorry about my e-mail address, but i'm trying to keep spam out.
	   Remove "icke-reklam" and it works.


More information about the bind-users mailing list