tristanlee85
New Around Here
I am trying to route a specific host to a local IP using a jffs config script, but don't seem to be able to get the lookup to work correctly.
In dnsmasq.conf.add:
In hosts.add:
When I do a nslookup from a device on my LAN, nothing resolves. Yes, dnsmasq service has been restarted. I have confirmed the config is loading correctly via the logs and verified the main hosts file gets appended to properly.
I also have OpenVPN configured for PIA which I am wondering if it is managing DNS and not performing the correct lookup for my defined hosts. Or perhaps I just have the above files wrong.
Any ideas?
In dnsmasq.conf.add:
Code:
address=/mlocal.www.mydomain.com/192.168.1.120
In hosts.add:
Code:
192 168.1.120 mlocal.www.mydomain.com
When I do a nslookup from a device on my LAN, nothing resolves. Yes, dnsmasq service has been restarted. I have confirmed the config is loading correctly via the logs and verified the main hosts file gets appended to properly.
I also have OpenVPN configured for PIA which I am wondering if it is managing DNS and not performing the correct lookup for my defined hosts. Or perhaps I just have the above files wrong.
Any ideas?