
14 Nov
2015
14 Nov
'15
4:51 a.m.
Hi Giles, This is exactly how it works, you add a record to /etc/hosts file, that could be any record. There's only one confusing step -- you need to restart dnsmasq every time you edit the file as dnsmasq doesn't detect changes automatically. Alex. On 13/11/15 07:55 PM, Giles Orr wrote:
Is there a way (using just DNSmasq, not installing a full service DNS server) to have an OpenWRT router answer DNS queries for a particular name? A name that's not a local DHCP lease. I have a Digital Ocean "droplet" that's just an IP, but I've given it a name and normally stuff that name and the IP into the /etc/hosts file. But if I put it into the router, I wouldn't have to keep editing hosts files ...