LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-07-2011, 01:04 PM   #1
thllgo
Member
 
Registered: Sep 2003
Location: Laurel MD
Posts: 296

Rep: Reputation: 32
dns and multiple TTLs, why do that?


Hello,

My question is about DNS use of the $TTL directive. I realize the $TTL directive stands for TimeToLive, my question is why would you specify different TTLs in the zone file? I have a zone file with

$TTL 300
machine
machine
machine
TTL 3600
machine
machine
machine
TTL 300
machine
machine
machine

I'm not sure why you just wouldn't specify the same TTL for all systems or at least not have all the 300's grouped together and all 3600s grouped together. The file I'm looking at has about 12 different groups of 300 and 3600 TTLs.
 
Old 02-08-2011, 04:23 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

You can give a smaller TTL to host(s) that change frequently and you don't want them to be cached for a long time.
Now regarding why the hosts are not grouped together according to their TTL, you should ask the person that created the zone file

Regards
 
1 members found this post helpful.
Old 02-08-2011, 08:34 AM   #3
thllgo
Member
 
Registered: Sep 2003
Location: Laurel MD
Posts: 296

Original Poster
Rep: Reputation: 32
Thank you. I am familiar with how DNS works and how to set it up, but never really looked into the logic of having different TTLs. I've always just set a TTL at the top and left it at that. My guess is that the previous admin was trying to group the systems in some other way and applied different TTL values to the groups. I've always just put them in address order.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dns multiple ip limkin Linux - Newbie 1 05-07-2009 04:00 AM
DNS Questions Multiple DNS Servers with single domain linuxcrazyguy Linux - Networking 1 01-27-2009 12:21 PM
Multiple DNS server's abhijeetudas Linux - Networking 2 09-04-2005 03:34 AM
Forcing BIND cache TTLs BinaryBob Linux - Networking 0 12-05-2003 04:26 PM
multiple DNS servers kvtournh Mandriva 1 11-26-2003 02:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration