systemd-resolved edns0

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

systemd-resolved edns0

ilian bobeff
Howdy,

systemd-resolved keeps appending 'options edns0' to /etc/resolve.conf. Does anyone know if this can be disabled?

Distributor ID: Ubuntu
Description:    Ubuntu 19.04
Release:        19.04
Codename:       disco

Kernel 5.0.0-32-generic

Thanks,
IB.

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: systemd-resolved edns0

Tom H-4
On Thu, Oct 24, 2019 at 1:55 PM ilian bobeff <[hidden email]> wrote:
>
> systemd-resolved keeps appending 'options edns0' to /etc/resolve.conf. Does anyone know if this can be disabled?
>
> Distributor ID: Ubuntu
> Description:    Ubuntu 19.04
> Release:        19.04
> Codename:       disco

"resolved-resolv-conf.c" has

<begin>
static int write_uplink_resolv_conf_contents(FILE *f, OrderedSet *dns,
OrderedSet *domains) {
        Iterator i;

        fputs("# This file is managed by man:systemd-resolved(8). Do
not edit.\n"
              "#\n"
              "# This is a dynamic resolv.conf file for connecting
local clients directly to\n"
              "# all known uplink DNS servers. This file lists all
configured search domains.\n"
              "#\n"
              "# Third party programs must not access this file
directly, but only through the\n"
              "# symlink at /etc/resolv.conf. To manage
man:resolv.conf(5) in a different way,\n"
              "# replace this symlink by a static file or a different
symlink.\n"
              "#\n"
              "# See man:systemd-resolved.service(8) for details about
the supported modes of\n"
              "# operation for /etc/resolv.conf.\n"
              "\n", f);
<end>

If your nameserver(s) can't handle edns0, delete the
"/etc/resolv.conf" symlink and create an "/etc/resolv.conf" file with
simply  "nameserver 127.0.0.53".

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users