Since it won't read the base file anymore, even after service resolvconf restart. So it gets removed.

  1. Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
  2. DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
  3. 127.0.0.53 is the systemd-resolved stub resolver.
  4. run "systemd-resolve --status" to see details about the actual nameservers.

nameserver 127.0.0.53 search potatotater.net

apt-get remove resolvconf Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED:

 resolvconf ubuntu-minimal

0 upgraded, 0 newly installed, 2 to remove and 2 not upgraded. After this operation, 225 kB disk space will be freed. Do you want to continue? Y/n (Reading database ... 439077 files and directories currently installed.) Removing ubuntu-minimal (1.379) ... Removing resolvconf (1.79ubuntu4) ..

Version of Ubuntu: DISTRIB_ID=Ubuntu DISTRIB_RELEASE=17.04 DISTRIB_CODENAME=zesty DISTRIB_DESCRIPTION="Ubuntu 17.04"