List my domains

Barry Margolin barmar at genuity.net
Thu Feb 21 15:06:47 UTC 2002


In article <a515bv$lm7 at pub3.rc.vix.com>,
Alex <awnews at electradigital.com> wrote:
>
>Oops, I guess that was a poorly worded question.
>
>I meant to ask, how can I find all the domains that list my nameserver
>as either their primary or secondary in their domain record?
>
>As an example, a customer of mine changes his own domain record so
>that DNS service is provided by another ISP.  But he never mentions
>this to me.  I leave him in my named.conf.  I'd like to get him out of
>there, but I don't want to drop people I should be providing service
>for.  Is it possible to get a comprehensive list of all the domains I
>should be providing DNS for.

You could write a script that reads all your slave zone files and checks
the NS records to see if you're still listed.  We use similar scripts to
look for common mistakes (misspellings, leaving the "." off the end of the
hostname, setting the Expire time too low, etc.)

-- 
Barry Margolin, barmar at genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list