Results 1 to 5 of 5
  1. #1

    Question Get list of domains using specific nameservers?


    Is it possible to get a list of domains that are using a specific pair of nameservers?

    We've purchased several hosting companies over the years, and would like to consolidate the nameservers we are using and need to manage.

    Thus.. we need to figure out which customers are using which nameservers.

    So getting a list of which domains are using the nameservers we don't want to use any more would be a nice easy way. Then we can contact those specific customers only.

    Want to sell domain names? Sign up today for an reseller account from a trusted eNom ETP provider.
    * We provide support and service to over 3245 happy eNom domain name and SSL certificate resellers!

  2. #2 probably gives such lists with paid accounts. However, if you have a list of all domains, you could achieve desired results with few commands on bash

  3. #3
    Join Date
    Mar 2009
    deep blue yonder
    Turn on query logging on the nameservers. Run the log through awk, sort & uniq to get a list of IP's making queries.

    Which of those listed are your customers would be up to you to figure out though.

    To make it simpler in future, consider configuring the nameservers to only permit recursion from IP's assigned to your customers.
    424 bits were harmed in the making of this signature.

  4. #4
    Join Date
    Nov 2009
    Ottawa, ON
    You did not specify if you are talking about authoritative DNS or recursive DNS.

    For authoritative DNS, I would suggest looking at the zone files. Anyone can point at your DNS, but the only relevent customers are those who have active zones. If I own, then I could claim your NS handles the zone "", but if you do not have that zone, little is lost of your nameserver goes away.

    However, recursive DNS is another issue altogether. If you are offering recursive DNS to your customers, you can try to guess who is using it by logging incoming request IPs and mapping them to customers, but this will be hit and miss. There is always that one server that has you configured for DNS, has been turned off for six months, and is booted one day. You have no way to detect this.

  5. #5
    From the OP, seems they already have a list of client domains, and need to know which of their nameservers are being used by those clients. I hope the following command might help you. <domain.lst> is a file containing list of domains, you are looking up.

    cat domain.lst | xargs -izzz -n 1 sh -c "echo \"Domain: \" zzz; whois -n zzz | grep \"Name Server\"; echo"

Similar Threads

  1. Finding domains owned by a specific person?
    By vito in forum Domain Names
    Replies: 6
    Last Post: 09-16-2006, 03:09 AM
  2. WANTED: Specific Traffic Domains; Will Pay Well
    By puravida in forum Domain Name Offers
    Replies: 0
    Last Post: 03-28-2004, 05:42 AM
  3. Country specific domains
    By Box0 in forum Running a Web Hosting Business
    Replies: 1
    Last Post: 11-07-2003, 08:26 PM
  4. Replies: 20
    Last Post: 12-14-2002, 04:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts