Bind error
Eric.Malenfant-xNZwKgViW5gAvxtiuMwx3w at public.gmane.org
Eric.Malenfant-xNZwKgViW5gAvxtiuMwx3w at public.gmane.org
Fri Mar 16 18:49:53 UTC 2007
You need a TTL in seconds.
$TTL 10800 = 3h
a default TTL of 1 day (86400) would probably more than enough for any
DNS caching, especially for internal/
reverse dns zones for your access only.
- Eric
-----Original Message-----
From: owner-tlug-lxSQFCZeNF4 at public.gmane.org [mailto:owner-tlug-lxSQFCZeNF4 at public.gmane.org] On Behalf Of ext
Madison Kelly
Sent: Friday, March 16, 2007 12:26 PM
To: tlug-lxSQFCZeNF4 at public.gmane.org
Subject: Re: [TLUG]: Bind error
Neil Watson wrote:
> What is wrong with this:
>
> $TTL 3h
> 0.0.127.in-addr.arpa. IN SOA ns2.example.com. (
> 2007031601 ; serial
> 3h ; refresh zones.
> 1h ; retry files refreshes
> 1w ; expire zone
> 1h ) ; negative ttl caching
>
> 0.0.127.in-addr.arpa. IN NS ns2.example.com.
> 1.0.0.127.in-addr-arpa. IN PTR localhost.
>
> Why am I getting this error in the log file:
>
> Mar 16 11:04:17 ns2 named[7149]: dns_rdata_fromtext:
> /var/named/slaves/db.127.0.0:3: near '3h': not a valid number
>
> Mar 16 11:04:17 ns2 named[7149]: dns_rdata_fromtext:
> /var/named/slaves/db.127.0.0:3: near '3h': not a valid number
>
> Mar 16 11:04:17 ns2 named[7149]: zone 0.0.127.in-addr.arpa/IN: loading
> master file /var/named/slaves/db.127.0.0: not a valid number
>
> Mar 16 11:04:17 ns2 named[7149]: zone 0.0.127.in-addr.arpa/IN: loading
> master file /var/named/slaves/db.127.0.0: not a valid number
I could be wrong, but I think you can only specify TTL as a number of
seconds.
Madi
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to
UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list