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!

how to list all domains in a DNS cluster?

Discussion in 'Bind/DNS/Nameserver' started by zoltanpaszinger, Nov 4, 2013.

  1. zoltanpaszinger

    Joined:
    Mar 12, 2009
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    51
    Hello

    I have a cPanel DNSONLY DNS cluster with several webservers. I would like to make a list of all domains on that cluster. How to do it only ssh in to one of the DNSONLY server?

    thanks

    Zoltan
     
  2. simonas

    simonas Well-Known Member

    Joined:
    Apr 21, 2013
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lithuania
    cPanel Access Level:
    Root Administrator
    Hi, you could list /var/named files which end in .db
    That would show all zone files.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,653
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    You will find a list of all zones in the /var/named directory of the DNS-Only machine, or in the /etc/named.conf file.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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