Almost There ...
Doug Barton
DougB at DougBarton.net
Mon May 21 19:24:12 UTC 2001
Desmond Coughlan wrote:
>
> 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.
Your MX record is missing the preference value. Make it look like this:
company.internal.com. MX 50 smtp.company.internal.com.
More information about the bind-users
mailing list