LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-29-2006, 11:04 PM   #1
kubungi
LQ Newbie
 
Registered: Sep 2006
Posts: 1

Rep: Reputation: 0
Question DNS lookup again before expiring TTL


My system configuration:
- Linux ver : 2.6.11.7 embedded linux

When target system dns query to server and receive effective ip address including ttl.
But next query about after 5 min. resolver lookup again even if the TTL did not expired yet.
Where can I find the source code and fix this problem ?
 
Old 09-30-2006, 03:54 PM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
I think that you need to install a DNS caching mechanism on your client such as dnsmasq or a full DNS server such as bind that takes the TTL into account. A resolver doesn't do that.

I use dnsmasq for what you describe and it works well.
 
  


Reply

Tags
dns, lookup, ttl


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
Forward DNS lookup to different DNS Servers ghight Linux - Networking 2 09-28-2006 05:54 AM
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup netoknet General 1 05-09-2005 03:43 AM
Dns TTL (?) JJX Linux - Networking 0 11-03-2004 02:52 PM
TTL in DNS filesDo u kn alaios Linux - Networking 1 10-26-2003 04:32 PM
DNS Lookup dilberim82 Linux - Networking 3 05-30-2001 05:45 AM


All times are GMT -5. The time now is 11:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration