Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4484

Local hostnames giving 'Temporary failure in name resolution' error

$
0
0

I setup a brand new VM on my network with Ubuntu 22.04 and a static IP. However, for some reason I can't lookup machines on the local network via hostname. It works fine on my older VMS. Is there some step I am missing in my network setup?netplan config.

network:  ethernets:    ens160:      addresses:      - 10.10.10.99/24      nameservers:        addresses:        - 10.10.10.1        search: []      routes:      - to: default        via: 10.10.10.1  version: 2

ping newserver

ping: newserver: Temporary failure in name resolution

nslookup newserver

Server:         127.0.0.53Address:        127.0.0.53#53** server can't find newserver: SERVFAIL

resolvectl status

Global       Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupportedresolv.conf mode: stubLink 2 (ens160)    Current Scopes: DNS         Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupportedCurrent DNS Server: 10.10.10.1       DNS Servers: 10.10.10.1

The only thing I have done outside of the initial Ubuntu setup is install avahi-daemon and cif-utils.


Viewing all articles
Browse latest Browse all 4484

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>