mattes / Vagrant Dnsmasq
Licence: other
A Dnsmasq Vagrant plugin that manages the dnsmasq.conf file and /etc/resolver directory on your host system.
Stars: ✭ 102
Programming Languages
ruby
36898 projects - #4 most used programming language
Labels
Projects that are alternatives of or similar to Vagrant Dnsmasq
Dnsmasq sniproxy install
One-click Install and Configure Dnsmasq and Sniproxy for CentOS/Debian/Ubuntu
Stars: ✭ 515 (+404.9%)
Mutual labels: dnsmasq
Matchbox
Network boot and provision Fedora CoreOS and Flatcar Linux clusters
Stars: ✭ 956 (+837.25%)
Mutual labels: dnsmasq
V2ray Rules Dat
🦄 🎃 👻 V2Ray 路由规则文件加强版,可代替 V2Ray 官方 geoip.dat 和 geosite.dat,兼容 Shadowsocks-windows、Xray-core、Trojan-Go 和 leaf。Enhanced edition of V2Ray rules dat files, compatible with Xray-core, Shadowsocks-windows, Trojan-Go and leaf.
Stars: ✭ 6,550 (+6321.57%)
Mutual labels: dnsmasq
Blacklist
Blacklist and Adware Blocking for the Ubiquiti EdgeMax Router
Stars: ✭ 393 (+285.29%)
Mutual labels: dnsmasq
Clash Rules
🦄️ 🎃 👻 Clash Premium 规则集(RULE-SET),兼容 ClashX Pro、Clash for Windows 客户端。
Stars: ✭ 706 (+592.16%)
Mutual labels: dnsmasq
Blacklist
Curated and well-maintained hostfile to block ads, tracking, cryptomining, and more! Updated regularly. ⚡🔒
Stars: ✭ 492 (+382.35%)
Mutual labels: dnsmasq
Neodevhost
The Powerful Friendly Uptodate AD Blocking Hosts 最新强大而友善的去广告
Stars: ✭ 336 (+229.41%)
Mutual labels: dnsmasq
Asuswrt Merlin Transparent Proxy
transparent proxy base on ss, v2ray, ipset, iptables, chinadns on asuswrt merlin.
Stars: ✭ 367 (+259.8%)
Mutual labels: dnsmasq
Hblock
Improve your security and privacy by blocking ads, tracking and malware domains.
Stars: ✭ 724 (+609.8%)
Mutual labels: dnsmasq
Gfwlist2dnsmasq python
Just another python script to auto-generate dnsmasq ipset rules using gfwlist. Shell script version: https://github.com/cokebar/gfwlist2dnsmasq
Stars: ✭ 290 (+184.31%)
Mutual labels: dnsmasq
Raspap Webgui
Simple wireless AP setup & management for Debian-based devices
Stars: ✭ 3,383 (+3216.67%)
Mutual labels: dnsmasq
Docker Pxe
A virtualized implementation of PXE supported by DNSMasq
Stars: ✭ 72 (-29.41%)
Mutual labels: dnsmasq
Gfwlist2dnsmasq
A shell script which convert gfwlist into dnsmasq rules. Python version: https://github.com/cokebar/gfwlist2dnsmasq_python
Stars: ✭ 765 (+650%)
Mutual labels: dnsmasq
vagrant-dnsmasq
A Dnsmasq Vagrant plugin that manages the dnsmasq.conf file and /etc/resolver directory on your host system.
Prerequisites
Easily install dnsmasq with brew under Mac OS:
brew install dnsmasq
Installation
vagrant plugin install vagrant-dnsmasq
Usage
in your Vagrantfile
# set domain ending (required)
# adding this line enables dnsmasq handling
config.dnsmasq.domain = '.dev'
# optional configuration ...
# this plugin runs 'hostname -I' on the guest machine to obtain
# the guest ip address. you can overwrite this behaviour.
# config.dnsmasq.ip = '192.168.59.100'
# config.dnsmasq.ip = proc do |guest_machine|
# guest_machine.communicate.sudo("command to obtain ip somehow") do |type, data|
# # return something like '192.168.59.100' or ['192.168.59.100', '192.168.59.103']
# end
# end
# this will prompt you during 'vagrant up' to choose an IP
# config.dnsmasq.ip = ['192.168.59.100', '192.168.59.103']
# overwrite default location for /etc/resolver directory
# config.dnsmasq.resolver = '/etc/resolver'
# 'vagrant destroy' does not delete /etc/resolver nameserver file, defaults to false
# config.dnsmasq.keep_resolver_on_destroy = true
# overwrite default location for /etc/dnsmasq.conf
brew_prefix = `brew --prefix`.strip
config.dnsmasq.dnsmasqconf = brew_prefix + '/etc/dnsmasq.conf'
# command for reloading dnsmasq after config changes
config.dnsmasq.reload_command = 'sudo launchctl unload /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist; sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist'
# disable dnsmasq handling
# config.dnsmasq.disable = true
Uninstall
vagrant plugin uninstall vagrant-dnsmasq
Verify /etc/resolver
and $(brew --prefix)/etc/dnsmasq.conf
.
Alternatives
/etc/resolver
approach
- vagrant-dns (using rubydns)
/etc/hosts
approach
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].