[lug] default ttl

Sean Reifschneider jafo at tummy.com
Thu Sep 21 13:47:08 MDT 2000


On Thu, Sep 21, 2000 at 01:54:22PM -0600, John Starkey wrote:
>> Add a line at the top of your zone file which reads:
>> 
>> 	$TTL            3d
>
>file? I added it as is above the serial. My understanding is that "(" just
>continues the entry on the next line. Should it be outside of/before the
>parenthesis?

It should be at the *VERY* top of your zone file.  So:

	$TTL            3d
	@       IN      SOA     ns1 hostmaster (
						 2000082700 ; Serial number yyyymmddnn
						 30m   ; Refresh
						 15m    ; Retry
						 1w  ; expire
						 1d ) ; Minimum TTL

				IN     NS      ns2.domain.com.
				IN     NS      ns1.domain.com.

											  IN A 10.9.8.7
	www                             IN A 10.9.8.7

	ftp        IN CNAME www


Sean
-- 
 "You can tune a file-system, but you can't tune a fish."
                 --  Quote from tunefs(1M) man page
Sean Reifschneider, Inimitably Superfluous <jafo at tummy.com>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python




More information about the LUG mailing list