- SSH to router
uci add_list dhcp.@dnsmasq[0].addnhosts=/etc/override.hosts
echo 'fqdn.example.com 127.0.0.1' >> /etc/override.hosts
/etc/init.d/dnsmasq restart
Should result in
$ nslookup fqdn.example.com
Server: 127.0.0.1
Address 1: 127.0.0.1 localhost
Name: fqdn.example.com
Address 1: 127.0.0.1 fqdn
$ nslookup fqdn.example.com @8.8.8.8
Server: 127.0.0.1
Address 1: 127.0.0.1 localhost
Name: fqdn.example.com
Address 1: 93.184.216.34 fqdn