[Bug 1712283] Re: Cannot resolve DNS in artful daily
Dimitri John Ledkov
launchpad at surgut.co.uk
Sat Oct 21 21:28:37 UTC 2017
On 21 October 2017 at 21:51, Steve Langasek
<steve.langasek at canonical.com> wrote:
> On Sat, Oct 21, 2017 at 08:54:03AM -0000, diabloneo wrote:
>> No, I wasn't using resolvconf.
>
> Ok, is there any particular reason for that? The resolvconf package is part
> of ubuntu-minimal in Ubuntu 17.04. Removal of ubuntu-minimal leaves you
> with an unsupported configuration.
If you want to switch to the new default configuration you can do this:
$ sudo ln -fs ../run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
And reboot. both ifupdown and network-manager, in 17.10 feed
nameservers to resolved and this is what default configuration should
look like.
Otherwise you need to specify nameserver in either /etc/resolv.conf
direct, or by supplying them to network-manager and asking it to
manage the /etc/resolv.conf.
--
Regards,
Dimitri.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netcfg in Ubuntu.
https://bugs.launchpad.net/bugs/1712283
Title:
Cannot resolve DNS in artful daily
Status in casper package in Ubuntu:
Confirmed
Status in livecd-rootfs package in Ubuntu:
Fix Released
Status in netcfg package in Ubuntu:
Fix Released
Status in network-manager package in Ubuntu:
Fix Released
Status in systemd package in Ubuntu:
Fix Released
Bug description:
in the current daily 21 Aug 2017, I can ping 8.8.8.8 from a live
session / installed session - running on virtualbox 5.1.26.
However I cannot ping google.com - "Name or service not known"
Kind of difficult to run ubuntu-bug here without a fully functioning
network.
Happy to provide more details - please can someone guide me producing
a much better bug-report?
----
my zesty VM is working just fine. As of a week ago, my artful daily
was working just fine also.
----
* /etc/resolv.conf is empty file on most images built, which is not right, it should point to ../run/systemd/resolve/stub-resolv.conf. Should be fixed in image generation? systemd?
* Adding a hack, to create /etc/resolv.conf if it does not exist, or
is empty. src:systemd
* network-manager does not consider that dns is managed by resolved if
.53 is present in /etc/resolv.conf or if it points to stub-
resolv.conf. src:network-manager
* netcfg has integrtation w.r.t. /etc/resolv.conf and resolvconf.
Needs checking / fixing
* caster has resolvconf integration
* livecd-rootfs has resolvconf integration
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1712283/+subscriptions
More information about the foundations-bugs
mailing list