Operating System & Version
Ubuntu 22.04
cPanel & WHM Version
latest?

wallenses

Registered
Aug 1, 2023
3
0
1
Ohio
cPanel Access Level
Root Administrator
I tried installing cPanel on a fresh install of Ubuntu 20.04 this morning. I set up the name and static IP address with my org's preferences (we are inside a firewall and use an internal DNS). I had to install screen and curl, and then cpanel.

Before the cpanel install, my DNS worked. My resolv.conf file read nameserver 127.0.0.53
During the install, I see that the installer disabled systemd-resolved and removed the resolution service, and, I guess, replaced it with it's own.

Disabling systend-resolved if it is enabled...2023-08-01 14:03:04 100 [37484] (DEBUG) :
- ssystem (BEGIN]: systemctl disable - -now systend-resolved
2023-08-01 14:03:04 100 [37484] (DEBUG) :
Removed /etc/systend/system/dbus-org.freedesktop.resolvel.service.
2023-08-01 14:03:04 100 [374841 (DEBUG):
Removed /etc/systend/system/multi-user.target.wants/systend-resolved.service.
2023-08-01 14:03:04 100 [37484] (DEBUG):
ssystem END]
2023-08-01 14:03:04 509 37484] ( INFO): Validating whether the system can look up domains.
2023-08-01 14:03:04 516 [37484] (DEBUG):
Testing httpupdate.cpanel.net.
2023-08-01 14:03:44 518 [37484] (ERROR):
2023-08-01 14:03:44519 [37484] (ERROR): The system cannot resolve the httpupdate.cpanel.net domain. Check the /etc/resolv.conf file. The system has terminated the insta llation process.

My resolv.conf file now reads:
nameserver 1.1.1.1
nameserver 8.8.8.8

and nothing on the computer resolves anymore. .

Am I missing something in the DNS configuration?
 
Last edited by a moderator:

wallenses

Registered
Aug 1, 2023
3
0
1
Ohio
cPanel Access Level
Root Administrator
After a reboot, the resolv.conf goes back to nameserver 127.0.0.53, but DNS is still not working. I have to
sudo systemctl enable systemd-resolved.service
sudo systemctl start systemd-resolved.service
to get the DNS back, but when I run the cpanel installer script the same thing happens.
 

utgengineer

Registered
Aug 4, 2023
1
0
1
US
cPanel Access Level
Root Administrator
I am having this same issue, the installer is disabling systemd-resolved which is resetting DNS addresses.


Disabling systemd-resolved if it is enabled...2023-08-04 18:02:31 100 [6372] (DEBUG): - ssystem [BEGIN]: systemctl disable --now systemd-resolved
2023-08-04 18:02:31 100 [6372] (DEBUG): Removed /etc/systemd/system/multi-user.target.wants/systemd-resolved.service.
2023-08-04 18:02:31 100 [6372] (DEBUG): Removed /etc/systemd/system/dbus-org.freedesktop.resolve1.service.


The system cannot resolve the httpupdate.cpanel.net domain. Check the /etc/resolv.conf file. The system has terminated the installation process.