LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-05-2006, 02:39 PM   #1
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Rep: Reputation: 30
reverse DNS lookup


Just curious, is linux suppose to do a reverse DNS lookup for each ping I send to google?
 
Old 06-06-2006, 07:58 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548
AFAIK not if results are cached. Persistent caching nameserver: Pdnsd.
 
Old 06-06-2006, 11:55 AM   #3
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Original Poster
Rep: Reputation: 30
ah, so in the case of my ubuntu, it's normal.

The only problem I see with it is that puts a load on the router (having internal DNS chaching thingy). Hence, when the router doesn't answer with the reverse lookup, the ping are not sent until it does come back.

It doesn't ask for reverse lookup if I'm pinging google's IP instead of "google.com"
Is there a place where I can adjust this behavior?

that looks like a nice program, pdnsd, I bookmarked it

thanks
 
Old 06-08-2006, 06:53 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548
It doesn't ask for reverse lookup if I'm pinging google's IP instead of "google.com"
No, that's because of how resolving hostnames works.


Is there a place where I can adjust this behavior?
AFAIK, no.
 
Old 06-08-2006, 09:18 AM   #5
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Original Poster
Rep: Reputation: 30
Well, I learn something new everyday.

I go to bed at night less stupid then the night before.

thanks unSpawn
 
Old 06-08-2006, 09:28 AM   #6
EvilC0P
LQ Newbie
 
Registered: Jun 2006
Location: Montreal
Distribution: Fedora Core 4
Posts: 16

Rep: Reputation: 0
for the reverse lookup, ping doesnt care about machine's name.
thats how the IP works, with IP adresses, numbers.

names are for us, human , easier to remember a name/word than a bunch of numbers.

so if you ping a name, dns gives the machines the IP then the ping proceeds.
never it will try to do reverse lookup for his own use. he doesnt use it...
just tho i would clarify a lil detail.
 
  


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 Reverse lookup problem pazvant Linux - Networking 3 10-10-2005 07:36 AM
Ident / Reverse DNS Lookup maq Linux - Networking 1 03-31-2005 06:59 PM
DNS reverse lookup problems... pdmackenzie Linux - Networking 2 09-19-2003 06:00 PM
Reverse DNS lookup, or any way to contact an IP.. MasterC Linux - Networking 6 02-21-2003 04:34 AM
reverse DNS lookup phil1076 Linux - General 1 01-22-2002 04:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration