Hello, I have used opensuse in the past and recently returned after using windows for a bit. I have a pihole that supplies local DNS and i use domain names to access various services on my network (samba, proxmox, etc). On windows, local lookups were instantaneous and there were no issues. On opensuse they take quite a while. For example, I just tried to ping my proxmox server and it took 15 seconds to resolve and return a result. Pinging with the IP address is instantaneous. This is my resolve.conf file:
search localdomain
nameserver 10.128.1.4
I’m at a bit of a loss as to what the difference between windows and linux would be. Any help is appreciated. Thank you!
Quick update to this. The following returns an ip address instantly.
host proxmox.my.dns.entry
Still so confused about how to troubleshoot this delay. The problem occurs with trying to mount a samba share, opening the proxmox gui, anything really except the host command. Using the IP address to mount a samba share or web gui works as expected.
By local lookup I mean the DNS entries I have created in my pihole that correspond to internal ip addresses on my internal network.
search localdomain is literally what it says in resolve.conf. My dns server is 10.128.1.4. Resolve.conf was automatically created based on what I assume is a DHCP assignment.
No, it is not actually my.dns.entry. In the proxmox example, it’s “proxmox-home.******.com” The stars are my registered public domain, I’d rather not put my exact domain in the forum however.
proxmox-home.****.com is assigned to an internal ip address via my pihole dns server.
this is the output of grep hosts /etc/nsswitch.conf /usr/etc/nsswitch.conf