Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-30-2006, 12:04 AM   #1
LQ Newbie
Registered: Sep 2006
Posts: 1

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

My system configuration:
- Linux ver : 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, 04:54 PM   #2
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.


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

All times are GMT -5. The time now is 11:33 PM.

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