for example, if I have something like this in dnsmasq
address=/steamcontent.com/192.168.0.225
which redirects to my server (192.168.0.225), how do I make it go back to steamcontent.com if my server goes down?
Currently, if my server goes down, requests to steamcontent.com will timeout.
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
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...
figured it out - pihole revived itself and was acting as the dhcp server instead of the router.
Unplugged it and ipconfig /renew seems to have solved it
All I want is to be able to redirect certain URLs on all devices connected to my router to a local ip address (e.g. router.local in the browser should send me to 192.168.0.1)
I have updated the to contain a single line
> cat /jffs/configs/dnsmasq.conf.add
address=/test.com/192.168.0.80
>...