Almost There ...

Desmond Coughlan desmond at cybercable.fr
Mon May 21 14:49:47 UTC 2001


Le 22.05.01, Mark.Andrews at nominum.com a écrit :

>	Your confusion is that you were thinking that the last
>	field of the SOA record was the TTL.  It is not.  It is
>	called "MINIMUM" and it is not optional.
>
>	The TTL, if explicitly there, is after the owner name.
>	e.g.  0.0.127.in-addr.arpa. 3600 SOA ...
>	Every record has a TTL.

Ahhhh !!!

So there was a field missing ... 

I copied the example you gave me, and my error message now is ...

# dmesg |grep -i named
May 21 16:28:54 dnsx /usr/local/sbin/named[174]: [ID 866145 daemon.notice]
starting BIND 9.1.2
May 21 16:28:57 dnsx /usr/local/sbin/named[174]: [ID 866145
daemon.warning] the default for the 'auth-nxdomain' option is now 'no'
May 21 16:28:57 dnsx /usr/local/sbin/named[174]: [ID 866145 daemon.error]
dns_rdata_fromtext: company.internal.com.db:6: near
'smtp.company.internal.com.': unexpected token
May 21 16:28:57 dnsx /usr/local/sbin/named[174]: [ID 866145 daemon.error]
dns_zone_load: zone company.internal.com/IN: loading master file
company.internal.com.db: unexpected token

The file in question, looks like this ...

# cat company.internal.com.db
$TTL 3600
company.internal.com.	SOA dnsx.company.internal.com. dns.company.com. (
                                    2000051800 86400 7200 3600000 10800 )
company.internal.com.	NS	dnsx.company.internal.com.
company.internal.com.	NS	cork.company.us.com.
company.internal.com.	MX	smtp.company.internal.com.
www.company.internal.com.	A	192.168.1.250
dnsx.company.internal.com.	A	192.168.3.191
smtp.company.internal.com.	A	192.168.1.250
lesulis01.company.internal.com.	A	192.168.3.10

That's it ... 

As a matter of interest, I've just ordered 'DNS & BIND 4th Edition' from
Amazon, express delivery ... so hopefully, I shall soon be able to stop
asking these silly questions, but for the moment ...

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