How to do traceroute of DNS lookups?


 
Thread Tools Search this Thread
Special Forums IP Networking How to do traceroute of DNS lookups?
# 1  
Old 10-04-2010
How to do traceroute of DNS lookups?

hello,,

after googling a lot,, i still cannot find the answer to my problem.

i want to do a traceroute or a network debugging of dns lookups from a Mail Server running on DEBIAN LENNY 5.0.

we have 2 routers in our office,, and i want to see through which of the routers the dns lookups are done

can someone advise me how to ..... ??? Thanks,,,

Last edited by coolatt; 10-04-2010 at 09:35 AM.. Reason: missing info
# 2  
Old 10-04-2010
You might try the dig utility. Should work for what you described.
Code:
       +[no]trace
	   Toggle tracing of the delegation path from the root name servers
	   for the name being looked up. Tracing is disabled by default. When
	   tracing is enabled, dig makes iterative queries to resolve the name
	   being looked up. It will follow referrals from the root servers,
	   showing the answer from each server that was used to resolve the
	   lookup.

# 3  
Old 10-04-2010
nslookup with debug on will tell you where it goes. Usually the local dns talks to the ISP dns as a local root, and usually is on the internet and can do without recursion, perhaps must under the isp contract. This way, the isp tells you the root servers and you go off on your own to their children. If the roots change, the changes trickle down.

traceroute from the dns host of the DNS server IPs will tell you where the network path is, going out. It may vary depending on where the next DNS server is.

(nslookup with server name allows you to route dns direct to a specific name server, if you want to compare responses.)
# 4  
Old 10-07-2010
ok,,, thanks Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

DNS client added to DNS server but not working

Hi, We have built a new server (RHEL VM)and added that IP/hostname into dns zone configs file on DNS server (Solaris 10). Reloaded the configuration using and added nameserver into resolv.conf on client. But when I am trying nslookup, its not getting resolved. The nameserver is not able to... (8 Replies)
Discussion started by: snchaudhari2
8 Replies

2. IP Networking

Traceroute

I have some question about traceroute: 1. Can we hide our computer from traceroute? (2 Replies)
Discussion started by: budiantho_indra
2 Replies

3. Red Hat

DHCP & DNS - Clients get IP but don't register in DNS

I am trying to setup a CentOS 6.2 server that will be doing 3 things DHCP, DNS & Samba for a very small office (2 users). The idea being this will replace a very old Win2k server. The users are all windows based clients so only the server will be Linux based. I've installed CentOS 6.2 with... (4 Replies)
Discussion started by: FireBIade
4 Replies

4. UNIX for Advanced & Expert Users

DNS server choice: Windows DNS vs Linux BIND

I'd like to get some opnions on choosing DNS server: Windows DNS vs Linux BIND comparrsion: 1) managment, easy of use 2) Security 3) features 4) peformance 5) ?? I personally prefer Windows DNS server for management, it supports GUI and command line. But I am not sure about security... (2 Replies)
Discussion started by: honglus
2 Replies

5. Shell Programming and Scripting

nslookup for reverse lookups on multiple servers

Hi all i need help :) i need to create a script (tcsh) to do a nslookup on all my hosts to see which ones do not have reverse lookup..etc. can someone please help? (1 Reply)
Discussion started by: brian112
1 Replies

6. UNIX for Dummies Questions & Answers

traceroute

Good afternoon Can anyone explain traceroutes to me and when it would be necessary/what situations would call one to use it? (2 Replies)
Discussion started by: iamnew2solaris
2 Replies

7. HP-UX

TWS 8.4 on HP-UX - lookups?

Just wondering if anyone else is using IBM's TWS on HP-UX 11.11i. Seeing some very strange name-lookup issues when it comes to using various utilities on the system. The same software works fine o0n AIX, Linux, Solaris, etc, but on HP-UX there is noticeable time lags in issuing commands - at the... (0 Replies)
Discussion started by: rnbwkat
0 Replies

8. Shell Programming and Scripting

Can awk do lookups to other files and process results

I know that 'brute-force' scripting could accomplish this with lots of cat/echo/cut/grep and more. But, because my real file has 800k records, and the matching files have 10-20k records, this is not time-possible or efficient. I have input file: > cat file_in... (4 Replies)
Discussion started by: joeyg
4 Replies

9. UNIX for Advanced & Expert Users

traceroute

Hi, Can any one suggest me an add on feature for the traceroute command. Thanks in advance. Regards, Selvi (4 Replies)
Discussion started by: salvi
4 Replies

10. Solaris

Solaris DNS Client For Microsoft DNS Server

hey guys, how to add soalris box as a microsoft DNS Client ? and how to register in the microsoft DNS ?? i managed to query from the DNS server after adding /etc/resolve.conf and editing /etc/nsswitch.conf but i need to register the soalris server (dns Client) into Microsoft DNS automatically.... (3 Replies)
Discussion started by: mduweik
3 Replies
Login or Register to Ask a Question

Featured Tech Videos