What's new

dnsmasq custom domain doesn't work on windows 10

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

PickleTickle

New Around Here
I followed https://github.com/RMerl/asuswrt-merlin.ng/wiki/Custom-domains-with-dnsmasq

My goal is that any device connected to my network can automatically use g/ without needing any changes to the device.

I added address=/g/g.lan/g.local/g.localdomain/192.168.0.96 to my dnsmasq.conf.add
If I go to http://g/ This works perfectly fine on android phones/ipads/macbooks (I get redirected to 192.168.0.96)
However, when I try this on Windows 10 machines, it gives me either a DNS_PROBE_FINISHED_NXDOMAIN or ERR_NAME_NOT_RESOLVED
If I run nslookup g
I get
Code:
Server:  RT-AX82U-8EE8
Address:  192.168.0.1


Name:    g
Address:  192.168.0.96

but ping g fails (ping g. works though)

I can add a DNS suffix for each windows device, but that defeats the purpose of setting it on the router and doesn't allow me to make it "just work" on any device.
I've gotten this to work using pihole using the same addresses, but that required me to use pihole as my dhcp server which I want to avoid.
 
To clarify what I did
1. add address=g.pickle.lan/192.168.0.96 to dnsmasq.conf.add
2. change the Domain Name on my router to pickle.lan
3. change the website's URL to http://g.pickle.lan
4. ipconfig /flushdns on all windows machines
 

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top