$TTL ?!

Bind, PowerDNS
Post Reply
preyz
Posts: 54
Joined: 2003-09-17 16:40
 

$TTL ?!

Post by preyz »

Was beudetet dieses "$TTL" am Anfang jeder Zonefile?
Was setzt man danach ein?
Habe eine Zonefile, wo "$TTL 2D" steht und eine wo "$TTL 1W".
Was ist der Unterschied und was wird damit ausgesagt/bestimmt?
jtb
Posts: 599
Joined: 2002-08-18 16:41
Location: Darmstadt
Contact:
 

Re: $TTL ?!

Post by jtb »

2D = 2 Tage
1W = 1 Woche

TTL steht generell für TimeToLive, im Fall von BIND wie lange andere Nameserver die Zone zwischenspeichern dürfen

Ganz gut ist: ISBN: 3897212900
preyz
Posts: 54
Joined: 2003-09-17 16:40
 

Re: $TTL ?!

Post by preyz »

danke.

was sollte man dort dann für eine normale domain nutzen?
was währe ein angebrachter zeitraum?
dodolin
Posts: 3840
Joined: 2003-01-21 01:59
Location: Sinsheim/Karlsruhe
Contact:
 

Re: $TTL ?!

Post by dodolin »

http://www.denic.de/hilfe/domainauftrag.html
http://www.zytrax.com/books/dns/apa/ttl.html
http://www.ripe.net/docs/ripe-203.html (man beachte: Dokument ist von 1999, d.h. veraltet. vielleicht aber trotzdem interessant)
http://www.menandmice.com/online_docs_a ... arytoc.htm
- TTL
- Minimum Field
http://www.dns.net/dnsrd/rfc/rfc2308.html
http://www.dns.net/dnsrd/rfc/rfc2181.html - speziell http://www.dns.net/dnsrd/rfc/rfc2181.ht ... 20of%20RRs
http://www.dns.net/dnsrd/rfc/rfc1912.html - speziell http://www.dns.net/dnsrd/rfc/rfc1912.ht ... %20records

Hieraus mal ein Zitat:
As you can see, the typical values above for the timers vary widely. Popular documentation like [RFC 1033] recommended a day for the minimum TTL, which is now considered too low except for zones with data that vary regularly. Once a DNS stabilizes, values on the order of 3 or more days are recommended. It is also recommended that you individually override the TTL on certain RRs which are often referenced and don't often change to have very large values (1-2 weeks). Good examples of this are the MX, A, and PTR records of your mail host(s), the NS records of your zone, and the A records of your nameservers.
Davon abgesehen, dass man heute besser keine unterschiedlichen TTLs in einer einzigen Zone haben soll (siehe mein Link unter "speziell" zu RFC 2181, der einiges aktueller ist als 1912), dürfte das einen guten Anhaltspunkt bieten. Ich würde für "stabile" Zonen etwas zwischen 2 und 7 Tagen wählen.
Post Reply