<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd">
<wml>
 <!-- page name="dnsinfo"-->
 <template>
  <do optional="false" label="Back Up" type="accept">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#dnsinfo"/>
  </do>
 </template>
 <card ordered="true" newcontext="false" id="dnsinfo">
  <do optional="false" label="Back Up" type="accept">
   <noop/>
  </do>
  <do optional="false" label="Back" type="prev">
   <prev/>
  </do>
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#nslookup"/>
  </do>
  <a href="#nslookup" accesskey="1">nslookup</a>
  <br/>
  <a href="#dig" accesskey="2">dig</a>
  <br/>
 </card>
 <card ordered="true" newcontext="false" id="nslookup">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="#dig"/>
  </do>
  <!-- h1 -->
  <h1>Name Server Lookup</h1>
  <p align="left">nslookup&gt;</p>
  <!-- h1 -->
  <h1>Determine the authoritative name servers for a name</h1>
  <p align="left">&#8203;<span class="output">&gt;</span> set q=ns&#8203;<span class="output">&gt;</span> <i>name</i>&#8203;</p>
  <!-- h1 -->
  <h1>Change to the authoritative name server</h1>
  <p align="left">&#8203;<span class="output">&gt;</span> server <i>newns</i>&#8203;</p>
  <!-- h1 -->
  <h1>Look up the IP address for a name</h1>
  <p align="left">&#8203;<span class="output">&gt;</span> set q=a&#8203;<span class="output">&gt;</span> <i>name</i>&#8203;</p>
  <!-- h1 -->
  <h1>Look up the name for an IP address</h1>
  <p align="left">&#8203;<span class="output">&gt;</span> set q=ptr&#8203;<span class="output">&gt;</span> <i>ipaddr</i>&#8203;</p>
  <p align="left">nslookup <i>hostname</i>&#8203;nslookup&#8203;<span class="output">EZB3042I &gt; </span>ls <i>domain.com</i>&#8203;&#8203;<span class="output">EZB3042I &gt; </span>set q=ns&#8203;<span class="output">EZB3042I &gt; </span>&#8203;<i>hostname</i>&#8203;&#8203;<span class="output">EZB3112I Authoritative answers can be found from:</span>&#8203;&#8203;<span class="output">EZB3143I  <i>ns1.domain.com</i> internet address = <i>nnn.nnn.nnn.nnn</i>
   </span>&#8203;&#8203;<span class="output">EZB3143I  <i>ns2.domain.com</i> internet address = <i>nnn.nnn.nnn.nnn</i>
   </span>&#8203;&#8203;<span class="output">EZB3042I &gt; </span>server <i>ns1.domain.com</i>&#8203;&#8203;<span class="output">EZB3042I &gt; </span>set q=a&#8203;<span class="output">EZB3042I &gt; </span>&#8203;<i>hostname</i>&#8203;&#8203;<span class="output">EZB3042I &gt; </span>set q=ptr&#8203;<span class="output">EZB3042I &gt; </span>&#8203;<i>ipaddr</i>&#8203;</p>
  <p>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. </p>
  <p align="left">
   <a href="#dig">Next: dig</a>
   <br/>
   <a href="#dnsinfo">Back Up: Menu</a>
   <br/>
  </p>
 </card>
 <card ordered="true" newcontext="false" id="dig">
  <!-- h1 -->
  <h1>Grope for domain information with DIG</h1>
  <p align="left">dig <i>hostname</i>&#8203;</p>
  <p align="left">
   <a href="#nslookup">Prev: nslookup</a>
   <br/>
   <a href="#dnsinfo">Back Up: Menu</a>
   <br/>
  </p>
 </card>
</wml>

