ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzakk_5.4.0.1/rzakkmanagingverify.htm

79 lines
4.6 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="task" />
<meta name="DC.Title" content="Verify Domain Name System function with Name Server Lookup" />
<meta name="abstract" content="You can use Name Server Lookup (NSLookup) to verify that Domain Name System (DNS) is working." />
<meta name="description" content="You can use Name Server Lookup (NSLookup) to verify that Domain Name System (DNS) is working." />
<meta name="DC.Relation" scheme="URI" content="rzakkmanaging.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2004, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2004, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzakkmanagingverify" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Verify Domain Name System function with Name Server Lookup</title>
</head>
<body id="rzakkmanagingverify"><a name="rzakkmanagingverify"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Verify Domain Name System function with Name Server Lookup</h1>
<div><p>You can use Name Server Lookup (NSLookup) to verify that Domain
Name System (DNS) is working.</p>
<div class="section"><p>Use NSLookup to query the DNS server for an IP address. This verifies
that the DNS server is responding to queries. Request the host name that is
associated with the loopback IP address (127.0.0.1). It should respond with
the host name (localhost). You should also query specific names that are defined
in the server instance that you are trying to verify. This will confirm that
the specific server instance you are testing is functioning properly.</p>
<p>To
verify DNS function with NSLookup, follow these steps:</p>
</div>
<ol><li class="stepexpand"><span>At the command line, type <kbd class="userinput">NSLOOKUP DMNNAMSVR(n.n.n.n)</kbd>,
where n.n.n.n is an address that you have configured the server instance you
are testing to listen on.</span></li>
<li class="stepexpand"><span>At the command line, type <kbd class="userinput">NSLOOKUP</kbd> and press
Enter. This starts an NSLookup query session.</span></li>
<li class="stepexpand"><span>Type <kbd class="userinput">server</kbd> followed by your server name
and press Enter. For example: <samp class="codeph">server myiseries.mycompany.com</samp>.
This information displays: </span> <pre> Server: myiseries.mycompany.com
Address: n.n.n.n</pre>
Where <samp class="codeph">n.n.n.n</samp> represents your DNS server's IP
address.</li>
<li class="stepexpand"><span>Enter <kbd class="userinput">127.0.0.1</kbd> on the command line and
press Enter. </span> <p>This information should display, including the
loopback host name:</p>
<pre> &gt; 127.0.0.1
Server: myiseries.mycompany.com
Address: n.n.n.n
<span class="uicontrol">Name: localhost</span>
Address: 127.0.0.1 </pre>
<p>The DNS server is responding correctly if it returns the loopback
host name: <span class="uicontrol">localhost</span>.</p>
</li>
<li class="stepexpand"><span>Type <kbd class="userinput">exit</kbd> and press Enter to quit the NSLOOKUP
terminal session.</span></li>
</ol>
<div class="section"><div class="note"><span class="notetitle">Note:</span> If you need help using NSLookup, type <kbd class="userinput">?</kbd> and
press Enter.</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakkmanaging.htm" title="This topic discusses how to verify Domain Name System (DNS) function, monitor performance, and maintain DNS data and files.">Manage Domain Name System</a></div>
</div>
</div>
</body>
</html>