$ ssh [email protected]
$ sudo vi /etc/dnsmasq.d/dnsmasq.static.conf
Put there some hostnames <-> ip mappings:
address=/some.domain/192.168.0.123
address=/some.other.domain/167.112.237.24
Save it the reload dnsmasq:
$ sudo /etc/init.d/dnsmasq force-reload