I have an Ubuntu 22 system set up for STATIC IP and my own DNS server via netplan like:
# This is the network config written by 'subiquity'
network:
ethernets:
ens3:
addresses:
- 10.0.0.48/24
dhcp4: no
dhcp6: no
nameservers:
search: [bradgoodman.com]
addresses: [10.0.0.68]
routes:
- to: default
via: 10.0.0.1
version: 2
WHen I do a netplan apply
DNS stuff in my LOCAL domain works – and my resolvctl
data shows me (truncagted):
Current Scopes: DNS
DefaultRoute setting: yes
LLMNR setting: yes
MulticastDNS setting: no
DNSOverTLS setting: no
DNSSEC setting: no
DNSSEC supported: no
DNS Servers: 10.0.0.68
2001:558:feed::1
2001:558:feed::2
DNS Domain: bradgoodman.com
And everything works correctly – — for a few seconds – but then like a minute later stuff in my LOCAL domain stops resolving – and resolvectl
shows me:
Current Scopes: DNS
DefaultRoute setting: yes
LLMNR setting: yes
MulticastDNS setting: no
DNSOverTLS setting: no
DNSSEC setting: no
DNSSEC supported: no
Current DNS Server: 2001:558:feed::1
DNS Servers: 10.0.0.68
2001:558:feed::1
2001:558:feed::2
I don’t know what these whacky 2001:558:feed:
entries are – or why it decided to spontaniously use one as my “Current DNS Server” – but either way – stuff doesn’t work – utill I do a netplan apply
, afterwhich it works again …. for a few seconds.
Any idea what’s going on??
P.S. My /etc/resolv.conf
is the standard:
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.
nameserver 127.0.0.53
search bradgoodman.com