Posted: Mon Dec 22, 2025 15:26 Post subject: DNS issue with .home.lan
Is there a setting that keeps ,home.lan not resolving on my home internal lan.
Using .home.arpa does work and resolve to my internal IP. I am using Pi-hole for DNS, but not DHCP.
Joined: 04 Aug 2018 Posts: 1577 Location: Appalachian mountains, USA
Posted: Mon Dec 22, 2025 19:37 Post subject:
I happened to discover only today that if you are using dnsmasq (GUI>Services>Services), the Additional Option you'd need in Dnsmasq Infrastructure there is
Code:
domain=home.lan,192.168.1.0/24,local
That's assuming your internal network is all 192.168.1.* addresses. If you have multiple subnets with each replacing that 1 with another number, then you may want 192.168.0.0/16 instead. Anyway, see the dnsmasq man page at
https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html
for details, esp the section on the --domain= option.
If dnsmasq is not involved at all with DNS on your system, this may not apply. But some of us use dnsmasq as a primary DNS/DHCP system so that dnsmasq handles DHCP and local DNS lookup, with other DNS queries then forwarded by dnsmasq to SmartDNS (my case) or Unbound or Stubby or Pi-Hole or whatever. _________________ On 61465: 3x Dynalink DL-WRX36, Linksys MX4200v2, 2x MR7350. WPA2personal/WPA3 w/ AES, VAPs, NAS, station mode, OpenVPN client (AirVPN), wireguard server (AirVPN port forward) and clients (AzireVPN, AirVPN, private), Two SmartDNS/DoT providers and one DNSCrypt provider via VPNs. DNSmasq manages that plus ad blocking and local DNS.
Joined: 08 May 2018 Posts: 16756 Location: Texas, USA
Posted: Mon Dec 22, 2025 21:25 Post subject: Re: DNS issue with .home.lan
themusj wrote:
Is there a setting that keeps ,home.lan not resolving on my home internal lan.
Using .home.arpa does work and resolve to my internal IP. I am using Pi-hole for DNS, but not DHCP.
Thank you and yes, the comma was typo for . period.
Added this: domain=home.lan,192.168.25.0/24,local to Additional Options and still getting Google Search results rather than hitting my Unraid server (Setup in Pi-hole as unraid.home.lan with associated IP of 192.168.25.155)
At least you have the ability to connect the dots!
I tried setting the option 2 method in the link. Some options in Pi-hole I could not change and I assume that is because of Unbound being incorporated in the docker. I have two instances of Pi-hole running with unbound, with separate static IP addresses.
So of course it didn't work even flushing the dns and trying Chrome besides Firefox.
I even tried the video below which made it look so easy. Followed every step except for the certificate (which I have been working on). Still with nextcloud.home.lan I ended up on the Internet.
I know unbound does some upstream processes so if I delete both Pi-hole dockers with Unbound and re-install them, what am I going to lose? I am working on self-signed certificates for Nginx so my home lan no longer has those browser warnings. Somehow I have made this more complicated than I think it is or otherwise it is.
Thank you all for you help and insights. I was able to get this resolved, after literally months of on again off again work.
I love dd-wrt and the forum. The solution turned out to be a long list of things to make this work both as an internal dns server, and resolving my ssl issues.