Operating System & Version
Ubuntu v20.04.6 STANDARD xen hvm
cPanel & WHM Version
110.0.7
Apr 6, 2023
10
0
1
Noida
cPanel Access Level
Reseller Owner
Hello, I have two problems.
  1. I trying to setup up a default nameserver for my whm. I followed this article. And I completed all the steps. But it's not working. when I check it on Leafdns it says "Nameserver is unreachable".
  2. when I create a new account I get "The certificate has the following errors: Certificate #1 has 1 validation error: DEPTH_ZERO_SELF_SIGNED_CERT."
Thanks.
 

Attachments

Last edited by a moderator:

ResellerWiz

Well-Known Member
Mar 24, 2023
150
66
103
USA
cPanel Access Level
Root Administrator
Twitter
The first question I have is did you allow enough time for the DNS changes to propagate?

Also, as @cPRex mentioned, do you have a valid A record for the nameserver hosts in the DNS zone for the nameserver domain?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,505
2,605
363
cPanel Access Level
Root Administrator
By default, all cPanel servers have a nameserver enabled. On a modern cPanel server, I would expect this command would show the Power DNS service running. Here is an example from an AlmaLinux 8 machine server showing the process running;

Code:
# ps aux | grep -i pdns
named    2039275  0.0  0.7 1178936 28836 ?       Ssl  May22   2:39 /usr/sbin/pdns_server --socket-dir=/run/pdns --guardian=no --daemon=no --disable-syslog --log-timestamp=no --write-pid=no
 
Apr 6, 2023
10
0
1
Noida
cPanel Access Level
Reseller Owner
By default, all cPanel servers have a nameserver enabled. On a modern cPanel server, I would expect this command would show the Power DNS service running. Here is an example from an AlmaLinux 8 machine server showing the process running;

Code:
# ps aux | grep -i pdns
named    2039275  0.0  0.7 1178936 28836 ?       Ssl  May22   2:39 /usr/sbin/pdns_server --socket-dir=/run/pdns --guardian=no --daemon=no --disable-syslog --log-timestamp=no --write-pid=no
Could you please take a look at the output of the command?
Is it working fine?

$ ps aux | grep -i pdns
named 669 0.0 0.6 671400 6892 ? Ssl Jun03 0:11 /usr/sbin/pdns_server --guardian=no --daemon=no --disable-syslog --log-timestamp=no --write-pid=no
ubuntu 73681 0.0 0.2 10764 2532 pts/0 S+ 18:55 0:00 grep --color=auto -i pdns
 

Attachments

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,505
2,605
363
cPanel Access Level
Root Administrator
Actually, I had enough information to perform the test on my end. I see that the port is being filtered when I check with an nmap test:

Code:
PORT   STATE         SERVICE
53/udp open|filtered domain
At this point, you'll have to contact the hosting provider to have them check the network settings and get that resolved, since that isn't something that is happening on your server.
 
Apr 6, 2023
10
0
1
Noida
cPanel Access Level
Reseller Owner
That looks good to me.

Can you run this command *from an external machine*? We need to test the connection going into your server:

Code:
telnet x.x.x.x 53
where "x.x.x.x" is the IP address of your server.
I got this.
1 % telnet 13.234.70.102 53
Trying 13.234.70.102...
Connected to 13.234.70.102.
Escape character is '^]'.
Connection closed by foreign host.
 
Apr 6, 2023
10
0
1
Noida
cPanel Access Level
Reseller Owner
Actually, I had enough information to perform the test on my end. I see that the port is being filtered when I check with an nmap test:

Code:
PORT   STATE         SERVICE
53/udp open|filtered domain
At this point, you'll have to contact the hosting provider to have them check the network settings and get that resolved, since that isn't something that is happening on your server.
Thanks for your help. I will connect with my hosting provider. I am using aws which network setting do I need to check? Can you help me with it?
 
Apr 6, 2023
10
0
1
Noida
cPanel Access Level
Reseller Owner
Hi, good morning.
Thanks a lot.
My first problem is solved.
how can I solve the second problem?
(when I create a new account I get "The certificate has the following errors: Certificate #1 has 1 validation error: DEPTH_ZERO_SELF_SIGNED_CERT.")