Skip to content

Instantly share code, notes, and snippets.

@todiadiyatmo
Last active July 23, 2017 15:03
Show Gist options
  • Save todiadiyatmo/6f31001acef6bbf157938bef1b8f238c to your computer and use it in GitHub Desktop.
Save todiadiyatmo/6f31001acef6bbf157938bef1b8f238c to your computer and use it in GitHub Desktop.
DNS MASQ Proxy

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment