Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

named doesn't like my syntax



I'm trying to set up a DNS server using the DNS/BIND book, however something 
isn't working. named is complaing about one of my files, but I've copied it 
verbatim (I hope) from the book.

The book is for BIND 9.1.0 but I'm running 9.1.2. Is there a difference in 
their syntax for mapping files?

Here's named's complaint (some warnings and the fatal error) and the file it 
doesn't like.

May 30 18:45:50 INTRANET named[18167]: the default for the 'auth-nxdomain' 
option is now 'no'
May 30 18:45:50 INTRANET modprobe: Note: /etc/modules.conf is more recent 
than /lib/modules/2.4.2-2/modules.dep
May 30 18:45:50 INTRANET named[18167]: no IPv6 interfaces found
May 30 18:45:50 INTRANET named[18167]: listening on IPv4 interface lo, 
127.0.0.1#53
May 30 18:45:50 INTRANET named[18167]: binding TCP socket: address in use
May 30 18:45:50 INTRANET named[18167]: listening on IPv4 interface eth0, 
10.2.10 0.72#53
May 30 18:45:50 INTRANET named[18167]: binding TCP socket: address in use
May 30 18:45:50 INTRANET named[18167]: dns_rdata_fromtext: db.127.0.0:4: 
near '3h': unexpected token
May 30 18:45:50 INTRANET named[18167]: dns_zone_load: zone 
0.0.127.in-addr.arpa/ IN: loading master file db.127.0.0: unexpected token
May 30 18:45:50 INTRANET named[18167]: running

The file:

$TTL 24h
;
0.0.127.in-addr.arpa.   IN SOA intranet.intranet.hmv.co.jp (
                1       ; Serial
                3h      ; Refresh after 3 hours
                1h      ; Retry after 1 hour
                1w      ; Expire after one week
                1h )    ; Negative caching TTL of 1 day
;
;
;Name servers
;
;
0.0.127.in-addr.arpa.   IN NS intranet.intranet.hmv.co.jp.
;
;
; Host addresses
;
1.0.0.127.in-addr.arpa. IN PTR  localhost.

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links