Skip to content
DnsLister Forum

Where domain hunters compare notes

DNS issue on corporate laptop

Hi,

I have a few self-hosted web servers which I want to be accessible only from my home network. Therefore, I have a local DNS record in my pihole (e.g. paperless.mydomain). From all my devices, this works fine. However, my corporate laptop always wants to go another route, so it does not work. How can I find out why this is and is there a way to prevent it?

My laptop gets its IP and DNS settings from DHCP. Also, in `ipconfig /all` there's only my pihole listed as DNS server. When I restart the network connection on my laptop, name resolution works for a few seconds as intended, then not anymore.

Directly after restarting the network interface:

nslookup paperless.mydomain Server: pi.hole Address: 192.168.0.53 Name: paperless.mydomain Addresses: fdb2:b7b4:ac3d:40::10 192.168.40.10 

Shortly after:

nslookup paperless.mydomain Server: pi.hole Address: 192.168.0.53 Non-authoritative answer: Name: mydomain Address: <external ip> Aliases: paperless.mydomain 

Source: r/dns · by /u/KrawallKurt

Leave a Reply

Your email address will not be published. Required fields are marked *