Rebuilt PiHole system with OpenVPN

Expected Behaviour:

When doing nslookup on static addresses setup in PiHole, should get the ip address for just the node and if I add .local to it.

Actual Behaviour:

On HornDNS, when I do nslookup, not getting ip address.
pi@HornDNS:~ $ nslookup horndns
Server: 127.0.0.1
Address: 127.0.0.1#53

Name: horndns
Address: 127.0.1.1

pi@HornDNS:~ $ nslookup horndns.local
Server: 127.0.0.1
Address: 127.0.0.1#53

** server can't find horndns.local: NXDOMAIN

pi@HornDNS:~ $ nslookup 192.168.254.5
Server: 127.0.0.1
Address: 127.0.0.1#53

5.254.168.192.in-addr.arpa name = HornDNS.

pi@HornDNS:~ $

Debug Token:



[✓] Your debug token is: t9aah5slzr



Ok, as many times as I have rebuild pihole with different scenarios and those that have answered have been very gracious with me on assisting me with getting the issue cleared up. That said, here is an update to the issue.

I am hoping the issue is due to the initial dhcp lease address my Pi had when installed will expire later today and will then have the static IP I assigned it.

I'm not sure if it is contributing to the problem, but it is recommended that you don't use ".local".
mDNS uses ".local" and it could cause conflicts, especially (though not exclusively) in Apple devices.
Reference: RFC 6762 - Multicast DNS

5 posts were split to a new topic: DHCP suffix ".local" may be problematic with some devices

Did you add the .local address to your hosts file?

I have not done that. Will try that.