Add Site or Add Page to Favorites
>

 Look up DNS Information 

Preview DRM-free music
Play clips of the most popular DRM-Free music in MP3 format
Legal Music .com

Get information on your favorite TV Shows at TV Series .com

Clarify the meaning of the acronyms on your web site.

Acronym Dictionary

Acronym Finder

Social Networking Web Sites

Register your own domain name at A to Z Domains.

or buy domains at Domain Names For Sale .net


Printer-friendly PDF* format:

How To Guides for TCP/IP

This Section

How To Guides for TCP/IP

TSO commands to look up DNS information

These commands can be executed directly in the TSO environment or with the TSO interfaces of the ISPF environment.

Name Server Lookup

Name Server Lookup

                                 nslookup
                                 
>

Determine the authoritative name servers for a name

                                 > set q=ns
                                 
> name

Change to the authoritative name server

                                 > server newns
                                 

Look up the IP address for a name

                                 > set q=a
                                 
> name

Look up the name for an IP address

                                 > set q=ptr
                                 
> ipaddr
                                 nslookup hostname
                                 
nslookup
EZB3042I > ls domain.com
EZB3042I > set q=ns
EZB3042I > hostname
EZB3112I Authoritative answers can be found from:
EZB3143I  ns1.domain.com internet address = nnn.nnn.nnn.nnn
EZB3143I  ns2.domain.com internet address = nnn.nnn.nnn.nnn
EZB3042I > server ns1.domain.com
EZB3042I > set q=a
EZB3042I > hostname
EZB3042I > set q=ptr
EZB3042I > ipaddr

ls lists all of the names in the given domain. set q=ns sets the query type to allow determining the authoritative name server for a given host name. server can be used to set the default server being queried to an authoritative name server, or any other name server. set q=a sets the query type to return the IP address for a given host name. set q=ptr sets the query type to do a reverse lookup, which returns the host name for a given IP addrses.

Domain Information Groper

Grope for domain information with DIG

                                 dig hostname
                                 

Last updated Monday November 13, 2006

You are currently viewing this page in HTML 5 non-XML* format (* see Clicklets for more infomation). This document is also available in XHTML 1 Style Sheet*XHTML 1* XML*HTML 5 Style Sheet*HTML 5 XML*HTML 4* XHTML 2* XHTML Mobile* WML Mobile* and printer-friendly PDF* formats. This is accomplished with Single Source Publishing, a content management system that uses templates in XSLT style sheets provided by XML Styles .com to transform the source content for various content delivery channels. There is also RDF* metadata that describes the content of this document.


Copyright © 2006 How To Guides .com. Alteration of content, including addition of any function such as hypertext links or pop-up advertising, or interference with the hypertext links or other functions of this site is expressly prohibited.

DISCLAIMER: All information, links, forms, applications and other items on this site or obtained from it are provided AS IS, WITHOUT WARRANTY OF ANY KIND EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.