dnsmasq is a lightweight DHCP, DNS and TFTP server application for *nix platforms intended for use on small and home networks.
Questions tagged [dnsmasq]
425 questions
1
vote
0 answers
Fedora 26: Docker, NetworkManager, dnsmasq startup order
I am using Docker with Consul. I have configured NetworkManager to use dnsmasq and I configured dnsmasq to listen on the Docker interface docker0.
When the machine is booting, dnsmasq cannot find the docker0 interface. When the system is booted up…

Thorsten Boock
- 11
- 1
1
vote
1 answer
dnsmasq as local dns server
I have the following setup:
box one:
RHEL 7.3
NetworkManager pointing dns to /etc/resolv.conf
/etc/resolv.conf pointing at the external IP of itself
dnsmasq (configured by someone else) listening on that IP for dns requests
dnsmasq having a…

erikbstack
- 139
- 2
- 9
1
vote
2 answers
Are search domains from resolv.conf used only for A/AAAA queries?
Are the user provided search domains from resolv.conf used only for A/AAAA queries ?
Are they used for any other purpose ?

Manohar
- 229
- 5
- 10
1
vote
1 answer
DNSMasq - Exclude some subdomains
We've got several machines set up with DNSMasq to run local development environments forwarding all .dev requests to 127.0.0.1
However we need to add some exclusions to this list, wondering how we'd go about it.
All these exclusions are still…

owenmelbz
- 163
- 3
- 12
1
vote
1 answer
KVM/Libvirt: How to make local DHCP leases available to local DNS server through dnsmasq
On Ubuntu 17.04 with libvirt 3.0.0
I have multiple virtual networks defined on my Server:
# virsh net-list --all
Name State Autostart Persistent
----------------------------------------------------------
default …

jean-christophe manciot
- 111
- 1
- 5
1
vote
1 answer
Google images sometimes terribly slow when using dnsmasq
I am the admin of a small LAN of 10+ computers. I've set up a dnsmasq server for DHCP and DNS resolution, and it's working almost fine..
My problem is that when I try to use Google images, sometimes it takes ages to show the actual images. I get…

Joril
- 1,610
- 1
- 21
- 28
1
vote
1 answer
Running dnsmasq in docker container on Debian - check_dhcp ignores dnsmasq
I'm testing configuration for my dnsmasq DHCP on my Virtualbox Debian machine.
On production I want dnsmasq to provide static IP addresses to guest systems running via qemu + libvirt + openvswitch ( that one I got covered, they are running via…

sebastian_t
- 111
- 1
- 5
1
vote
0 answers
Get dnsmasq to respond with the local dynamic IP address
We're using dnsmasq on our Macs for local development to send all traffic for *.dev to 127.0.0.1. We're working on moving to Docker for local dev, but still need to support running MySQL on the Macs outside of Docker for now.
I'm trying to…

Kerry Knopp
- 43
- 1
- 4
1
vote
1 answer
force dnsmasq to bind an interface for DHCP
I want to use dnsmasq with two configs on two interfaces, which should be bound locally. If you read the manpage, it looks like interface=wlan0 bind-interfaces should do the trick. But it always binds the dhcp server to all interfaces:
udp 0 …

allo
- 1,620
- 2
- 22
- 39
1
vote
3 answers
How to conditionally redirect DNS queries with dnsmasq?
I would like, in my network, the host 10.10.10.1 to resolve names via 8.8.8.8 and 10.10.10.2 via 8.8.4.4. They receive their DNS settings via the dnsmasq DHCP service.
I can imagine two solutions:
the hosts get a specific set of DNS servers…

WoJ
- 3,607
- 9
- 49
- 79
1
vote
1 answer
replicate lxd bridge in /etc/network/interfaces and dnsmasq
I have a Ubuntu 16.04 server and default LXD configuration.
Typically, when an image comes up, this happens:
eno1 Link encap:Ethernet HWaddr b8:ae:ed:ea:69:41
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
…

stevemarvell
- 131
- 5
1
vote
2 answers
How to discard a DHCP request's old IP address (and provide a new one)?
I switched from a 192.168.0.0/24 network to 10.10.10.0/24. The addresses are provided by dnsmasq-dhcp.
The switch went fine for all devices but one - a printer (called PRINTER). This printer was assigned a fixed IP based on its name defined in…

WoJ
- 3,607
- 9
- 49
- 79
1
vote
1 answer
Captive portal with iptables and local dns server
I'm trying to redirect all the browser's requests from my wifi interface wlan1 to a captive portal. I have a node web server running on my target on 10.4.30.34:4040.
It has to redirect the browser directly to the web server, on the good port, like I…

aida_m
- 31
- 1
- 5
1
vote
1 answer
dnsmasq proxy mode and efi boot
So, I already have DHCP server in my local network. But I want to setup new VMs with network boot (PXE). I've setup dnsmasq in proxyDHCP mode to provide PXE info to booting clients while using other DHCP Server for providing IP/MASK.
Problem: I was…

Alexzander Shevchenko
- 113
- 1
- 7
1
vote
2 answers
Some IPv6 hosts send all traffic, even in same subnet, to router
I noticed a routing issue with IPv6 with our LAN. Most of the client PCs are LTSP thin clients. They get one address through SLAAC. Tracepath6 to hosts on the same subnet shows all traffic is direct. But, the laptop I'm working on (Linux Mint 17,…

Halfgaar
- 8,084
- 6
- 45
- 86