Ubuntu 20.04 not resolving local network hostnames

An Ubuntu 20.04 laptop installation started not being able to resolve the names of hosts in the same local network. Although the host names were registered with the router, the laptop wouldn’t be able to resolve those host names. Surprisingly, neither netbios resolution worked (although nbtscan would find those hosts).

The solution is to bypass the caching local nameserver. /etc/resolv.conf shows a nameserver at I didn’t find a way to configure that nameserver, since afaik I’m not using bind9 or the likes. What helped was deleting /etc/resolv.conf and replacing it with a link to /run/systemd/resolve/resolv.conf which for my system looks like this:

nameserver fe80::1%3
search local

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.