Sponsored Content
Special Forums IP Networking How to do traceroute of DNS lookups? Post 302459490 by DGPickett on Monday 4th of October 2010 07:51:01 PM
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.)
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
dns-sd(1M)						  System Administration Commands						dns-sd(1M)

NAME
dns-sd - Multicast DNS (mDNS) & DNS Service Discovery (DNS-SD) Test Tool SYNOPSIS
dns-sd -R name type domain port [key=value ...] dns-sd -B type domain dns-sd -L name type domain dns-sd -Q FQDN rrtype rrclass dns-sd -C FQDN rrtype rrclass dns-sd -P name type domain port host IP [key=value ...] dns-sd -E | -F | -A | -U | -N | -T | -M | -I DESCRIPTION
The dns-sd command is a network diagnostic tool, much like ping(1M) or traceroute(1M). However, unlike those tools, most of its functional- ity is not implemented in the dns-sd executable itself, but in library code that is available to any application. The library API that dns- sd uses is documented in /usr/include/dns_sd.h. The dns-sd command is primarily intended for interactive use. Because its command-line arguments and output format are subject to change, invoking it from a shell script can be unpredictable. Additionally, the asynchronous nature of DNS Service Discovery does not easily lend itself to script-oriented programming. This style of asynchronous interaction works best with applications that are either multi-threaded, or use a main event-handling loop to receive keystrokes, network data, and other asynchronous event notifications as they happen. OPTIONS
The following options are supported: -R name type domain port [key=value ...] Register (advertise) a service in the specified domain with the given name and type as listening (on the current machine) on the speci- fied port. name can be any arbitrary unicode text, containing any legal unicode characters (including dots, spaces, slashes, colons, and so on without any restrictions), up to 63 UTF-8 bytes long. type must be of the form "_app-proto._tcp" or "_app-proto._udp", where "app-proto" is an application protocol name registered at http://www.dns-sd.org/ServiceTypes.html. domain is the domain in which to register the service. In current implementations, only the local multicast domain "local" is sup- ported. In the future, registering will be supported in any arbitrary domain that has a working DNS Update server [RFC 2136]. The domain "." is a synonym for "pick a sensible default", which currently means "local". port is a number from 0 to 65535, and is the TCP or UDP port number upon which the service is listening. Registering a service on port 0 allows an application to explicitly advertise the non-availability of a service. Additional attributes of the service may optionally be described by key/value pairs, which are stored in the advertised service's DNS TXT record. Allowable keys and values are listed with the service registration at http://www.dns-sd.org/ServiceTypes.html -B type domain Browse for instances of service type in domain. For valid types, see http://www.dns-sd.org/ServiceTypes.html. Omitting the domain name or using "." means "pick a sensible default." -L name type domain Look up and display the information necessary to contact and use the named service. This information includes the hostname of the machine where that service is available, the port number on which the service is listening, and (if present) TXT record attributes describing properties of the service. In a typical application, browsing happens rarely, while lookup (or "resolving") happens every time the service is used. For example, a user does not browse the network to pick a default printer that often, but once a default printer has been picked, that named service is resolved to its current IP address and port number every time the user presses Cmd-P to print. -Q FQDN rrtype rrclass Generic query for any resource record type and class. -C FQDN rrtype rrclass Generic query for any resource record type and class. This option also reconfirms each result from the query. Reconfirming the record instructs mdnsd(1M) to verify the validity of the record. If the record is not valid mdnsd(1M) flushes the record from the daemon's cache and also from other mdnsd(1M) caches on the network. -P name type domain port host IP [key=value ...] Register (advertise) a service in the specified domain with the given name and type listening on the specified port and accessible on another host. This option should be used to advertise by proxy a service accessible on another host. The host name and IPv4 address to access the service must be specified. -E Discover recommended registration domains. This option returns the recommended domains to register a service. The recommended registra- tion domains are returned by querying the name servers in resolv.conf(4). -F Discover recommended browsing domains. This option returns the recommended domains for browsing services. The recommended browsing domains are returned by querying the name servers in resolv.conf(4). -A Test registering service with Multicast DNS and test the add, update and delete operations of DNS records with Multicast DNS. -U Test registering service with Multicast DNS and test updating of DNS TXT records for a service registered with Multicast DNS. -N Test adding a large NULL record for a service registered with Multicast DNS. -T Test adding a large TXT record for a service registered with Multicast DNS. -M Test creating a registration with multiple TXT records. -I Test registering and then immediately updating a TXT record. EXAMPLES
Example 1 Advertising a printing service The following command advertises the existence of LPR printing service on port 515 on this machine, so that it will be available to DNS-SD compatible printing clients: dns-sd -R "My Test" _printer._tcp. . 515 pdl=application/postscript For this registration to be useful, the LPR service should be available on port 515. Advertising a service that does not exist is not very useful. Example 2 Advertising a web page The following command advertises a web page being served by an HTTP server on port 80 on this machine, so that it will appear on the Bon- jour list in Safari and other DNS-SD compatible Web clients: dns-sd -R "My Test" _http._tcp . 80 path=/path-to-page.html Example 3 Finding the advertised web pages on the local network The following command finds the advertised web pages on the local network (the same list that Safari shows): dns-sd -B _http._tcp ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWdsdu | +-----------------------------+-----------------------------+ |Interface Stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
mdnsd(1M), ping(1M), traceroute(1M), resolv.conf(4), attributes(5) SunOS 5.11 21 Aug 2007 dns-sd(1M)
All times are GMT -4. The time now is 10:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy