Problem with zone files on Bind 8.30

Mark_Andrews at isc.org Mark_Andrews at isc.org
Sat Feb 2 09:27:29 UTC 2002


> 
> In article <a3f591$604 at pub3.rc.vix.com>, "Mark_Andrews"
> <Mark_Andrews at isc.org> wrote:
> 
> 
> I fixed what you have sugested, but still have a couple of errors.
> 
>  1 22:41:13 ns1 named[1399]: limit files set to fdlimit (1024)
> Feb  1 22:41:14 ns1 named[1399]: domain.com:13: Database error near (localho
> st)
> Feb  1 22:41:14 ns1 named[1399]: domain.com:14: Database error near (ns1)
> Feb  1 22:41:14 ns1 named[1399]: domain.com:17: Database error near (www)
> Feb  1 22:41:14 ns1 named[1399]: master zone "domain.com" (IN) rejected due 
> to errors (serial 20020132)
> Feb  1 22:41:14 ns1 named[1400]: Ready to answer queries.
> 
> This is the updated domain.com zone
> 
> 
> $TTL 3600
> @   IN SOA ns1.domain.com. root.domain.com. (
>                             20020132        ; Serial
>                             10800           ; Refresh
>                             3600            ; Retry
>                             604800          ; Expire
>                             86400 )         ; Minimum TTL
> 
>     ; DNS Servers
>                     IN NS           ns1.domain.com.
> 
>     ; Machine Names
> @   localhost       IN A    127.0.0.1
> @   ns1             IN A    xx.xx.xx.xx
> @                   IN A    xx.xx.xx.xx
>      ; Aliases
> @   www             IN CNAME       xx.xx.xx.xx
> 
>     ; MX Record
> @                   IN MX   10      domain.com.

	I did not say to put a @ at the start of every record.  Please
	re-read my first reply.  I said to get rid of the white-space
	before the @ and implied that you need to do the same of the
	other records that wern't inheriting the name from the record
	before.

	Mark

e.g.
$TTL 3600
@   IN SOA ns1.domain.com. root.domain.com. (
                             20020132        ; Serial
                             10800           ; Refresh
                             3600            ; Retry
                             604800          ; Expire
                             86400 )         ; Minimum TTL
 
; DNS Servers
      IN NS           ns1.domain.com.
; Machine Names
localhost       IN A    127.0.0.1
ns1             IN A    xx.xx.xx.xx
@                   IN A    xx.xx.xx.xx
; Aliases
www             IN CNAME       xx.xx.xx.xx
; MX Record
@                   IN MX   10      domain.com.

> 
> 
> Thank you
> 
> >> I have problem with my zone file on my FreeBSD 4.4 sporting BIND v8.30.
> >> 
> >> This is my domain.com zone file. (Hostname of the machine ns1)
> >> 
> >>  $TTL 3600
> >>    
> >>      @   IN SOA ns1.domain.com. root.domain.com. (
> > 
> > 	Indenting and the lack of it is critical to the interpretation of a
> > 	zone file.  An indented record inherits the previous name in the zone
> > 	file.  There should be no white-space before the @.
> > e.g.
> > 
> > $TTL 3600
> > @	IN	SOA ....
> > 
> > 
> >> Feb  1 16:55:23 ns1 named[916]: Zone "domain.com" (file domain.com): No
> >> defa ult TTL ($TTL <value>) set, using SOA minimum instead Feb  1
> >> 16:55:23 ns1 named[916]: domain.com:3: Database error near (@) Feb  1
> >> 16:55:23 ns1 named[916]: domain.com:5: Database error near () Feb  1
> >> 16:55:23 ns1 named[916]: domain.com:6: Database error near () Feb  1
> >> 16:55:23 ns1 named[916]: domain.com:7: Database error near () Feb  1
> >> 16:55:23 ns1 named[916]: domain.com:8: Database error near () Feb  1
> >> 16:55:23 ns1 named[916]: domain.com:9: Database error near ()) Feb  1
> >> 16:55:23 ns1 named[916]: domain.com:12: Database error near (@) Feb  1
> >> 16:55:23 ns1 named[916]: domain.com:16: Database error near (localhos
> >> t)
> >> Feb  1 16:55:23 ns1 named[916]: domain.com:23: Database error near
> >> (ns1) Feb  1 16:55:23 ns1 named[916]: domain.com:26: Database error
> >> near (@) Feb  1 16:55:23 ns1 named[916]: domain.com:29: Database error
> >> near (www) Feb  1 16:55:23 ns1 named[916]: limehost.com:32: Database
> >> error near (@) Feb  1 16:55:23 ns1 named[916]: Zone "domain.com" (file
> >> domain.com): no SOA RR found
> >> Feb  1 16:55:23 ns1 named[916]: master zone "domain.com" (IN) rejected
> >> due t o errors (serial 0)
> > 
> >> Feb  1 16:55:23 ns1 named[916]: /etc/namedb/named.conf:119: cannot
> >> redefine zone '.' class IN
> > 
> > 	You have the "." zone twice in named.conf.
> > 
> > 	Mark
> > 
> > --
> > Mark Andrews, Internet Software Consortium 1 Seymour St., Dundas Valley,
> > NSW 2117, Australia PHONE: +61 2 9871 4742                 INTERNET:
> > Mark.Andrews at isc.org
> 
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list