Install issue: dns changing
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?
-
Hey there! If you set /etc/resolv.conf back to your previous value, does that get things working again? 0 -
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. 0 -
I can't say I've come across this installation issue before and I'm not finding anything similar in our ticket system. Could you create a ticket on that so we can do more investigating? 0 -
I can't seem to submit a ticket without my Support Access ID and I can't see my Support Access ID without an install. 0 -
You can email cs@cpanel.net to get the ticket created outside of the normal system and we'll get on it! 0 -
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.
0 -
Could you submit a ticket on this issue, please? 0
Please sign in to leave a comment.
Comments
7 comments