The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Possible to list nameservers of all accounts?

Discussion in 'Bind / DNS / Nameserver Issues' started by Gosa, Jun 28, 2011.

  1. Gosa

    Gosa Member

    Joined:
    Jun 28, 2011
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    Setup:
    WHM 11.30.0 (build 32)
    CENTOS 5.6 i686 standard on hosted

    Question:
    Is it possible to list the nameservers for all accounts in one long list?

    What I do now is:
    Go to "Edit DNS Zone" and click on a Zone and click "Edit", then I look at NS record.
    With lot's of accounts this is not practical.
    I'm a newbie and I'm pretty sure there must be a way to display the nameservers for all the accounts.
    At least I really hope there is way :)

    Thank you guys in advance and I'm really looking forward to an answer.

    PS: This is my first post so bear with me :)
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,448
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Not sure this is exactly what you want, but you're close already to this.

    WHM > DNS Functions > Nameserver IPs, you see your nameservers listed. to the right side the No. Zones column, that number is clickable. Click it to see the list of domains that use that particular nameserver.

    This is sort of backward to what you wanted, but it does show how many and which domains use each nameserver.
     
  3. Gosa

    Gosa Member

    Joined:
    Jun 28, 2011
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Hi thanks for the quick response!!!! I appreciate it!

    It's indeed backward but it's ok for what I need.
    It's because I moved from a reseller account to a dedicated server and I need to check if all nameservers for all accounts are pointing to the correct nameservers.

    By the way, this is what I see (which is correct)

    ns1.AAA.com xx.xxx.xxx.xxx 60
    ns1.BBB.com No IP 2

    So can I assume that only those nameservers are being used in all accounts?
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,448
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Those nameservers that are registered on that server, yes.
     
  5. Gosa

    Gosa Member

    Joined:
    Jun 28, 2011
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Thank you so much!!!
     
Loading...

Share This Page