Almost There ...
PC Tech
pctech at mybellybutton.com
Mon May 21 12:59:32 UTC 2001
This is my zone file template I use. Dunno if it is RFC compliant or not,
but it doesn't return any errors. Please feel free to use it.
$TTL 86400
$ORIGIN domain.com.
@ IN SOA ns1.domain.com. DNS-admin.domain.com. (
2000040305 ; serial number YYYYMMDDxx format
3600 ; refresh interval for slave
1800 ; retry by slave ns
864000 ; expire from slave cache
86400 ; default time-to-live in any DNS cache
)
@ IN TXT "domain.com network"
;
;name servers
@ IN NS ns1.domain.com.
@ IN NS ns2.domain.com.
;mail servers
@ IN MX 10 mail.domain.com.
; host records
@ IN A ip.ad.re.ss
mail IN A ip.ad.re.ss
www IN A ip.ad.re.ss
ftp IN A ip.ad.re.ss
# -----Original Message-----
# From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org]On
# Behalf Of Desmond Coughlan
# Sent: Monday, May 21, 2001 5:50 AM
# To: Len Conrad
# Cc: bind-users at isc.org
# Subject: Re: Almost There ...
#
#
#
# Le 21.05.01, Len Conrad a écrit :
#
# {snip}
#
# >>That's right, the comment. I removed them from all files, and
# >>rebooted. The 'no TTL' error went away, and instead, I got this for all
# >>zone files :
# >>
# >># dmesg |grep -i named
# >>May 21 13:01:49 dnsx /usr/local/sbin/named[173]: [ID 866145
# daemon.error]
# >>dns_master_load: 127.0.0:1: No current owner name
#
# >the parser is finding a ip.ad.re.ss on the left hand side in
# the "owner"
# >field, but ip´s are not valid in the owner field, so it complains.
#
# Erm ... there is no IP in there, except in the comment field, and I
# thought that // was ignored ..?
#
# I put '$TTL 3600' at the _*very top*_ of the file. Nothing before it, not
# even white space.
#
# I get this ...
#
# May 21 14:37:07 dnsx /usr/local/sbin/named[174]: [ID 866145 daemon.notice]
# starting BIND 9.1.2
# May 21 14:37:10 dnsx /usr/local/sbin/named[174]: [ID 866145
# daemon.warning] the default for the 'auth-nxdomain' option is now 'no'
# May 21 14:37:10 dnsx /usr/local/sbin/named[174]: [ID 866145 daemon.error]
# dns_rdata_fromtext: 127.0.0:6: near eol: unexpected end of input
# May 21 14:37:10 dnsx /usr/local/sbin/named[174]: [ID 866145 daemon.error]
# dns_zone_load: zone 0.0.127.in-addr.arpa/IN: loading master file
# 127.0.0: unexpected end of input
# May 21 14:37:11 dnsx /usr/local/sbin/named[174]: [ID 866145 daemon.error]
# dns_rdata_fromtext: company.internal.com.db:6: near eol: unexpected end of
# input
# May 21 14:37:11 dnsx /usr/local/sbin/named[174]: [ID 866145 daemon.error]
# dns_zone_load: zone company.internal.com.fr/IN: loading master file
# company.internal.com.db: unexpected end of input
#
# Is there something I'm missing ? It's like trying to grab a bar of soap
# in the shower ...
#
# For info., my /etc/namedd/127.0.0 file is like this (the others are
# similar) :
#
# $TTL 3600
#
# 0.0.127.in-addr.arpa. SOA company.internal.com.fr. dns.company.fr. (
# 2000051800
# 86400
# 7200
# 3600000 )
#
# 0.0.127.in-addr.arpa. NS dnsx.company.internal.com.fr.
#
# 1.0.0.127.in-addr.arpa. PTR localhost.
#
# >Des, you really need to RTFM just a little bit. get the 4th
# edition, DNS &
# >BIND.
#
# As I mentioned, a colleague had promised to buy the book in the US, and
# bring it back. He couldn't find it, and so I have to wait some more
# time. This DNS box has been sitting here for about four months now, and
# I'd like to get it up and running before the end of the week.
#
# D.
#
# --
# Desmond Coughlan |Restez Zen ... UNIX peut le faire
# desmond at cybercable.fr |YGL#4 YFC#1 YFB#1 UKRMMA#14 two#38
# http://www.chez.com/desmondcoughlan/
# Clé Publique: http://www.chez.com/desmondcoughlan/pgp/pubring.pkr
#
#
#
#
#
More information about the bind-users
mailing list