Score:0

Ubuntu: Netplan dont remove Nameserver

sr flag

iam running ubuntu 22.04 on hetzner. After changing the nameservers with netplan, the old nameserver still show up resolvectl status and /etc/resolve.conf.

Removing them from resolve.conf does not work, after reboot they are back.

Is there a way to remove them permantly?

resolvectl status:

Global
       Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: uplink
     DNS Servers: 1.1.1.1

Link 2 (eth0)
Current Scopes: DNS
     Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
   DNS Servers: 1.1.1.1 1.0.0.1 185.12.64.1 185.12.64.2

My netplan:

network:
  ethernets:
    eth0:
      addresses:
      - 2a01:4f8:1c1c:7ae4::1/64
      dhcp4: true
      match:
        macaddress: '96:00:02:36:57:38'
      nameservers:
        addresses:
        - 1.1.1.1
        - 1.0.0.1
      routes:
      - on-link: true
        to: default
        via: fe80::1
      set-name: eth0
  version: 2

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.