https://wiki.archlinux.org/index.php/dnsmasq
/etc/dnsmasq.conf
domain-needed
#bogus-priv
#domain=mydomain.net
expand-hosts
#local=/mydomain.net/
port=PORT
listen-address=127.0.0.1
listen-address=PUBLIC-IP-ADDRESS
bind-interfaces
/etc/resolv.dnsmasq.conf
# Google's nameservers, for example
nameserver 8.8.8.8
nameserver 8.8.4.4