LionKing
Regular Pleskian
- Server operating system version
- Linux Ubuntu 22.04.3 LTS
- Plesk version and microupdate number
- Plesk Obsidian v.18.0.55 Update #2
cURL Error (6) Could not resolve host: accounts.google.com
So I been digging a bit about this issue and it seems that it is related to to two things Linux and Plesk,
On our Plesk we do not run any DNS server or email server. So any dns queries has to be made by external dns by our server.
Editing the /etc/resolv.conf file only temporarily resolved the issue because Plesk seems to over write it when you reboot the server.
We did add there dns servers to the file:
nameserver 208.67.222.222
nameserver 208.67.220.220
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 1.1.1.1
nameserver 1.0.0.1
and it does seem to solve the issue. But as said. Once you reboot they are all removed to this instead:
#nameserver 127.0.0.53
options edns0 trust-ad
search .
Thoughts?
Thanks in advance.
Kind regards
So I been digging a bit about this issue and it seems that it is related to to two things Linux and Plesk,
On our Plesk we do not run any DNS server or email server. So any dns queries has to be made by external dns by our server.
Editing the /etc/resolv.conf file only temporarily resolved the issue because Plesk seems to over write it when you reboot the server.
We did add there dns servers to the file:
nameserver 208.67.222.222
nameserver 208.67.220.220
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 1.1.1.1
nameserver 1.0.0.1
and it does seem to solve the issue. But as said. Once you reboot they are all removed to this instead:
#nameserver 127.0.0.53
options edns0 trust-ad
search .
Thoughts?
Thanks in advance.
Kind regards