Skip to content

Instantly share code, notes, and snippets.

@P1N2O
Created May 30, 2024 13:18
Show Gist options
  • Save P1N2O/0733a906fd7fdf7214c3a25fc1100981 to your computer and use it in GitHub Desktop.
Save P1N2O/0733a906fd7fdf7214c3a25fc1100981 to your computer and use it in GitHub Desktop.
dnsmasq config
#port=5353
#strict-order
#no-resolv
server=1.1.1.1
server=/x.com/10.8.8.8
address=/localhost/127.0.0.1
address=/localhost.x.com/127.0.0.1
address=/test/127.0.0.1
address=/docker/127.0.0.1
nameserver 127.0.0.1
[boot]
systemd=true
command="service dnsmasq start"
[network]
generateHosts=false
generateResolvConf=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment