One of my worker servers is experiencing problems connecting to a central server. This happened suddenly, it worked earlier, and it still works on an identical other worker.
After some inspection the problem turns out to be this:
root@svc1:~# nslookup central.example.com
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer:
Name: central.example.com
Address: 26.156.133.221
Name: central.example.com
Address: 64:ff9b::2ea6:1337
systemd-resolvd
seems to think that the central server has an ipv6 address. But it doesn't, and never has:
root@svc1:~# dig central.example.com @ns1.example.com in AAAA
...
# there is no ANSWER SECTION
I could probably somehow clear the local DNS cache and fix the connection issue. But how could this happen, and how can I prevent it from happening again in the future?