systemd-resolved edns0
Tom H
tomh0665 at gmail.com
Fri Oct 25 12:54:13 UTC 2019
On Thu, Oct 24, 2019 at 1:55 PM ilian bobeff <i.bobeff at gmail.com> 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".
More information about the ubuntu-users
mailing list