Skip to content

Instantly share code, notes, and snippets.

@acidburn0zzz
Created October 10, 2018 07:46
Show Gist options
  • Save acidburn0zzz/1bad4bb87c33fafb2c20a14b4b6cf2c8 to your computer and use it in GitHub Desktop.
Save acidburn0zzz/1bad4bb87c33fafb2c20a14b4b6cf2c8 to your computer and use it in GitHub Desktop.
dnsmasq 127.0.0.1:53 -> 127.0.0.1:54 (osx)
port=53
address=/lo0/127.0.0.1
server=127.0.0.1#54
user=nobody
group=nobody
interface=lo0
listen-address=127.0.0.1
no-dhcp-interface=lo0
bind-interfaces
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>homebrew.mxcl.dnsmasq</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/opt/dnsmasq/sbin/dnsmasq</string>
<string>--keep-in-foreground</string>
</array>
<key>KeepAlive</key>
<dict>
<key>NetworkState</key>
<true/>
</dict>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment