Hello.
I cannot SSH into machine using machine's hostname, but I can with IP address.
This is the output of nslookup hostname:
Code:
Server: 192.168.1.1
Address: 192.168.1.1#53
Name: hostname
Address: 192.168.1.5
Name: hostname
Address: 192.168.1.5
ping hostname:
Code:
ping: hostname: Name or service not known
And my resolv.conf:
Code:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# 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 192.168.1.1
nameserver fe80::1
nameserver 127.0.0.53
Bookmarks