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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how to list all domains in a DNS cluster?

Discussion in 'Bind / DNS / Nameserver Issues' 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:
    38,220
    Likes Received:
    1,376
    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.
     
Loading...

Share This Page