Find all authoritative domains for a nameserver?

Edward DeLargy eddelargy at gmail.com
Tue Dec 4 00:34:57 UTC 2012


So,
     Had this same issue where a customer forgot whom they actually
supported. Grep the named.conf for the zones (Shows active Zones). Then
grep the db file for the A records of each active zone. Then write a script
to querry 8.8.8.8 or whois for the names. This returns the customer info.
You can also set up query greps for dns logs. Anything answering is where
you would look then again write a script against whois on the internet.No
easy way around getting customer info other than a script against whois if
you have a ton of A record returns.

Hope this helped,
Ed


On Mon, Dec 3, 2012 at 6:30 PM, Novosielski, Ryan <novosirj at umdnj.edu>wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all,
>
> I don't know if there's an easy, or even moderately easy way to do
> this, but can one somehow figure out/get a list of all domains for
> which the nameserver is set to a given IP/server name? For reasons I
> won't get into, the people who register the domains are not the same
> as the people who run the DNS servers (me) and occasionally the
> domains I have zones defined for in my nameservers do not match the
> WHOIS records. Normally, that problem becomes pretty obvious because
> nothing works right, but it does generate a lot of logging for failed
> queries to the nameservers. I guess that would be one way to tell when
> someone has made us authoritative for a domain but not had us create a
> zone file, but is there a way to get a list somehow?
>
> Thanks.
>
> - --
> - ---- _  _ _  _ ___  _  _  _
> |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Sr. Systems Programmer
> |$&| |__| |  | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922)
> \__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with undefined - http://www.enigmail.net/
>
> iEYEARECAAYFAlC9NgkACgkQmb+gadEcsb55EQCgpMYxBAswxZ97eiKqphcDd4Hr
> ZlgAoMwwqHbKKhTzvPN1QwPsZnQFBlyo
> =mPm4
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to
> unsubscribe from this list
>
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20121203/70d972c4/attachment.html>


More information about the bind-users mailing list