LIST ALL DOMAINS SET DNS SERVERS

cPanel & WHM Version
112

cyberh3x

Member
Oct 5, 2013
8
2
53
cPanel Access Level
Root Administrator
Hello,

I am hosting a cPanel server and the data center has informed me they are moving the IP space they gave me years ago. So I will need to switch the IPs out.

Most of the accounts are using my DNS servers. However some manage their own DNS. Is there a way to generate a list of all domains on the server and what DNS servers they are using? This way I can work with the end users who are managing their own DNS.

I would do this by hand but its almost 400 accounts not including any add on domains they have added.

Thanks!
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
17,470
2,843
363
cPanel Access Level
Root Administrator
Hey there! There isn't a cPanel tool that would do this, but you could get creative with custom scripts to make that happen. This tool might help get you pointed in the right direction:

 
  • Like
Reactions: cyberh3x