Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-07-2006, 10:50 PM
|
#1
|
|
Member
Registered: Sep 2006
Posts: 42
Rep:
|
DNS TTL Question
Hi,
The person who handles our DNS is out for a short while so I'm trying to find the answer to a question.
I was asked -- if I understand the question correctly --if our nameserver has a minimum TTL which overrides the TTL from authoritative nameservers for cached records. Apparently, an ISP which hosts a domain has a very short TTL in order to work correctly for failover purposes. A lot of people at our institution check this website so he wanted to verify that we don't ignore the TTL from the ISP's DNS server because it's too low and use a higher TTL instead. I'm not too sure how to find out this info. Does anyone know how?
Thanks,
Jason
|
|
|
|
12-08-2006, 02:07 AM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,676
|
well essentially you can see the TTL's and other associated information about resolved dns names with the "dig" tool. do a dig against your local server, and the remote server and compare the TTL's. note that TTL's (obviosuly) change over time, and are nopt synchronous across servers, so you need to find the higheste TTL returned.
|
|
|
|
12-08-2006, 04:20 AM
|
#3
|
|
Senior Member
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
|
Try using dig to view the TTL of www.google.com. or www.yahoo.com. Both of them have CNAME records for www that have a certain TTL, and the CNAME resolves to several A records with even shorter TTLs. If you keep doing dig over and over again you will notice the TTL getting lower (as it expires from your nameserver's cache).
You should get a TTL of 300 for the A records from the CNAME of www.google.com. and TTL of 60 for the A records resolved from the CNAME of www.yahoo.com. (assuming it's not already cached).
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:39 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|