[lug] DNS Time
Shannon M. Johnston
Nunar at mauromedia.net
Sun Dec 5 08:32:47 MST 1999
Man! I am always impressed at the response rate in this list!
Thanks!
"Jeffrey B. Siegal" wrote:
> "Shannon M. Johnston" wrote:
> > How do I reduce the TTL time?
>
> The default TTL for the domain is in the SOA record. Mine looks like this:
>
> @ IN SOA lx.quiotix.com. root.lx.quiotix.com. (
> 1999061903 ;Serial
> 86400 ;Refresh
> 3600 ;Retry
> 3600000 ;Expire
> 172800) ;Minimum
> IN NS lx.quiotix.com.
> IN NS ns.brainstorm.net.
> IN NS lambda.lambdatel.com.
> IN NS ns2.brainstorm.net.
>
> The "Minimum" (poorly named) sets the TTL (in seconds) for all records in the
> domain that don't have one. If you want to change the TTL for just a single
> record, I think you just add it to that line after the name:
>
> For example, change
>
> jeff-pc IN A 199.164.185.8
>
> to
>
> jeff-pc 300 IN A 199.164.185.8
>
> I'm not 100% sure this is right though. Check the bind documentation or try
> it and see. After making any changes to your zone files, do a "killall -HUP
> named"
>
> You can check the TTL on records using "dig":
>
> --->
> [jbs at lx Downloads]$ dig jeff-pc.quiotix.com
>
> ; <<>> DiG 8.2 <<>> jeff-pc.quiotix.com
> ;; res options: init recurs defnam dnsrch
> ;; got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 4
> ;; QUERY SECTION:
> ;; jeff-pc.quiotix.com, type = A, class = IN
>
> ;; ANSWER SECTION:
> jeff-pc.quiotix.com. 2D IN A 199.164.185.8
> <---
>
> Hope this helps.
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
More information about the LUG
mailing list