-
-
Save tomquas/3cdeb75b2f28bd0709f9e82d38d650b1 to your computer and use it in GitHub Desktop.
dnsmasq.conf for VirtualBox on OSX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Change this line if you want dns to get its upstream servers from | |
| # somewhere other that /etc/resolv.conf | |
| resolv-file=/etc/resolv.upstream.conf | |
| # If you want dnsmasq to listen for DHCP and DNS requests only on | |
| # specified interfaces (and the loopback) give the name of the | |
| # interface (eg eth0) here. | |
| # Repeat the line for more than one interface. | |
| interface=vboxnet0 | |
| # Uncomment this to enable the integrated DHCP server, you need | |
| # to supply the range of addresses available for lease and optionally | |
| # a lease time. If you have more than one network, you will need to | |
| # repeat this for each network on which you want to supply DHCP | |
| # service. | |
| dhcp-range=192.168.56.102,192.168.56.200,12h | |
| dhcp-leasefile=/var/lib/dnsmasq.leases |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment