• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

(internal) DNS not working on our Plesk server

jva

New Pleskian
Hi,

I downloaded a Ubuntu 14.04 + Plesk 12.5 image from the Ubuntu site and just purchased a monthly leased license.

I just tried to update but it gives me an error: Plesk upgrade is not starting: Couldn't resolve host autoinstall.plesk.com

I found this which seems to fit my problem since I can ping IP-addresses but not hostnames: https://kb.plesk.com/en/121240
However it's solution does not match, or I misunderstand.

It tells me to open up /etc/resolv.conf and add a nameserver. However when I open that file it tells me specifically: DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

Seems I need to edit my DNS settings elsewhere... But where?

Thanks!
Jim
 
Hi Jim,
You can add entries to /etc/resolv.conf but they will be overwritten on reboot.
To make it permanent you can add...
Code:
nameserver 127.0.0.1


To the file...
Code:
/etc/resolvconf/resolv.conf.d/base


I'm not sure why yours is empty, it should be populated from...

- the dns-nameservers statement in /etc/network/interfaces
- automatically added when Bind starts or
- prepended during dhcp requests (this is less likely).

I hope that helps
Regards

Lloyd
 
Back
Top