Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Hey experts ! ~ about DNS

Discussion in 'Bind/DNS/Nameserver' started by persiasoft, Jul 31, 2007.

  1. persiasoft

    persiasoft Active Member

    Joined:
    Nov 15, 2004
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    151
    do you know about :
    how many domains pointed to your DNS ?
    which domains point to your DNS ?

    1) i want to list all of the domains that pointing to my DNS ! i wanna notify them to change their DNS

    2) if you saw webhosting.info , you know that ratings are related to DNS,
    i have 3 hosting with different DNSs and wanna merge those into 1 hosting and point all domains to 1 specified DNS ( this will help me to raise my rating ! )


    is there any site to record history of domains ? it can very help full ! after entering ns1.myhost.com it will shows all domains that pointing to this DNS !

    waiting for your response :D
     
  2. jandafields

    jandafields Well-Known Member

    Joined:
    May 6, 2004
    Messages:
    428
    Likes Received:
    4
    Trophy Points:
    168
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    just make a script using /etc/localdomains and dig,

    so it runs a loop like this:

    dig $domain NS |grep yournameserver.com

    It will then check every domain on your server, and it will return the ones that have your nameserver listed
     
  3. persiasoft

    persiasoft Active Member

    Joined:
    Nov 15, 2004
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    151
    the problem is , this script just works for hosted domains !
    i wanna know the other domains that pointing to my dns ...
     
  4. jandafields

    jandafields Well-Known Member

    Joined:
    May 6, 2004
    Messages:
    428
    Likes Received:
    4
    Trophy Points:
    168
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    why would other domains be using your nameservers if they aren't hosted with you???
     
  5. persiasoft

    persiasoft Active Member

    Joined:
    Nov 15, 2004
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    151
    they are using our name servers as dns server, to forwarding URL , Email, create A record and ...
    from 1500 domains, we have 150 domains that unknown and they pointed their domains to our dns
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice