Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

name resolution inconsistencies

Started by nucman, January 21, 2024, 04:35:52 AM

Previous topic - Next topic

nucman

Hi all, new to Sparky but somewhat know what I'm doing with linux. I installed the latest Sparky with KDE yesterday.

I run a local pi-hole with some custom *.local DNS entries. These work on every other device I have. But in the Konsole terminal both ping and ssh do not resolve. Nslookup and host do resolve. My DNS servers are properly populated in /etc/resolv.conf. I am using DHCP. I've exhausted what I know to troubleshoot, this is odd to me. What is going on??  Thanks

$ ping ntp.local
ping: ntp.local: Name or service not known

[07:27 PM]-[user@nuc11]-[~]-
$ nslookup ntp.local
Server:         192.168.40.5
Address:        192.168.40.5#53

Name:   ntp.local
Address: 192.168.40.190


[07:27 PM]-[user@nuc11]-[~]-
$ host ntp.local
ntp.local has address 192.168.40.190

[07:27 PM]-[user@nuc11]-[~]-
$ cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.40.5
nameserver 192.168.40.3



nucman

annnd... of course I find the answer immediately after posting 😑

https://www.lowlevelmanager.com/2011/09/fix-linux-dns-issues-with-local.html

I guess I'll make this response instead of deleting in case anyone else deals with this.

View the most recent posts on the forum