[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



> Back in the "nslookup" days, I could do a query on all the registered
> hostnames for a given domain, something akin to:
> 
>    nslookup> ls -d somedomain.com > somedomainhosts.txt
> 
> Now that nslookup is deprecated, I was wondering if there was a similar
> way to perform this type of query, or if this type of query has since
> been deemed a security risk.

"ls -d" did a zone transfer, and as you thought, it is a security risk. Many
sites today restrict who can do a zone transfer, and the ones that don't
probably all should ;-)

If you can find a site which permits zone transfers, you can use dig to pull 
the zone

$ dig @dns_server zone_to_pull axfr

later,
chris


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00400" href="msg00400.html">[ale] OT: DNS query (dig) question</a></strong>
<ul><li><em>From:</em> ale at FultonGreen.com (Fulton Green)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00411.html">[ale] being cut off from list</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00413.html">[ale] OT: DNS query (dig) question</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00406.html">[ale] OT: DNS query (dig) question</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00409.html">[ale] OT: DNS query (dig) question</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00412"><strong>Date</strong></a></li>
<li><a href="threads.html#00412"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>