Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # dnsmasq --no-daemon --log-queries &
- # dig +short @localhost mysite.com
- 1.1.1.1
- # dnsmasq --no-daemon --log-queries &
- dig +short mysite
- 2.2.2.2
- # cat /etc/dnsmasq.conf
- server=$MY_IP
- no-hosts
- addn-hosts=/etc/dnsmasq.hosts
- # cat /etc/dnsmasq.conf
- 1.1.1.1 www.mysite.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement