nameserver query?

Brandon Vincent Brandon.Vincent at asu.edu
Tue Aug 26 20:24:17 UTC 2014


On Tue, Aug 26, 2014 at 11:32 AM, Dave Stevens <geek at uniserve.com> wrote:
> Does anyone know how or if I can query a nameserver to find out what domains
> it provides services for? So I'd like to do something like:
>
> dig bla bla bla ns1.x.com
>
> and get a list of domains for that server.
>
> TIA,
>
> Dave

To request all the records for a particular domain, you can issue a
DNS AXFR query to a nameserver.

dig @ns1.example.com -tAXFR example.com

However, I can guarantee you that nearly all internet facing DNS
servers are not going to honor your request for an unauthenticated
zone transfer. Servers that do usually find themselves being utilized
in DDoS amplification attacks.

Brandon Vincent




More information about the ubuntu-users mailing list