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
2
votes
2 answers
Setting up PXE server in an school environment
I am starting the research phase of setting up a PXE server to cover a Junior High School campus but have never done so and have a few questions that pertain to our School District networking setup and I am unsure if those details will change the…

user21442189
- 21
- 1
2
votes
1 answer
Wildcard CNAME record specified by libvirts dnsmasq:options namespace doesn't work, only specific subdomains works
Since v5.6.0, libvirt added a dnsmasq namespace with the element, which allows to specify options directly to the underlying dnsmasq server. I'd like to create a wildcard DNS entry for my applications with that option. So I used virsh net-edit,…

Lion
- 506
- 10
- 21
2
votes
3 answers
Segmenting IPv6 networks using dnsmasq?
I have a bit of a complicated network setup(*) where a WAN router connects to the upstream provider and provides an "external LAN" (where actually I have some services) and another local router has its external leg on the "external LAN" and provides…

Guss
- 2,670
- 5
- 34
- 59
2
votes
0 answers
dnsmasq dhcp ignoring dhcp-host definitions
I am currently puzzled by the dnsmasq configuration, and I hope someone here can help me...
I've setup successfully the DHCP-Server with dnsmasq, and I've tried to include some static Host configurations based on the MAC-Addresses of the…

Martin
- 2,194
- 7
- 16
2
votes
2 answers
How to get Netplan to set the DNS server in /etc/resolv.conf based on info coming from the DHCP server?
I'm setting up a 4 x RPi Cluster with the following simple network topology:
All 4 RPi nodes have the latest Ubuntu Server LTS 20.04 OS. rpi1 is my primary/gateway node. I did the following on rpi1:
Assigned a static IP Address on eth0 of 10.0.0.1…

Magnus
- 123
- 1
- 1
- 5
2
votes
1 answer
dnsmasq gives a correct response then a connection time out
When trying to nslookup to my dnsmasq dns server I get the correct IP address and then I get a connection timed out : no servers could be reached message. Any idea what is happening here and if I can still use it or better find out what is…

AMAR BESSALAH
- 23
- 3
1
vote
0 answers
Route private network traffic through VPN
I use a RaspberryPi as a DHCP and DNS server for my home network as well as a wireguard server to gain remote access to my network.
My setup is as follows:
192.168.1.4 - ISP Router
192.168.1.1 - Raspi 4 running Raspbian
On the Raspberry Pi I…

Adrixan
- 11
- 3
1
vote
1 answer
Force client to send DHCP options to next-server
We currently have clients connecting to a DHCP server when asking for an IP. We then redirect to next-server with some additional options.
The next server has a DNSMASQ running that should be able to get all sent options by the DHCP server.
With…

djuarezg
- 131
- 1
- 2
- 8
1
vote
1 answer
DNS server information not provided to DHCP clients by dnsmasq
I am trying to utilize a Raspberry Pi with Raspbian Stretch (Linux) so provide additional network monitoring and also routing capabilities. To this end I have the following setup:
Internet router [eth1]
||
[Raspberry Pi]
||
Wifi for clients…

Juggy
- 11
- 1
- 3
1
vote
2 answers
Techniques for intercepting/overriding DNS lookups?
I have a Windows-based, walk-up workstation which I would like to restrict to one specific domain. It is on its own wireless network.
Essentially, I would like to resolve DNS resolution calls to this one specific domain and block all others. I would…

Not a machine
- 115
- 1
- 6
1
vote
2 answers
How to serve custom DNS server to DHCPv6 clients in OpenWRT?
How to serve custom dns to dhcp clients in openWrt? explains how to serve custom DNS server for DHCP clients on IPv4.
But how to do it for IPv6? I tried adding DNS server's IPv6 address but it doesn't seem to have worked.

Hikari
- 107
- 3
- 12
1
vote
1 answer
Docker-compose with VPN and DNS not resolving properly
I made a deal with my son where in, if he built a fully-working, 3 way traffic light in minecraft, I would host him his own minecraft server so he and his friends could play anytime. He upheld his end of the bargain, so it's my turn.
In order to…

Christian Bongiorno
- 201
- 1
- 10
1
vote
1 answer
dnsmasq pxe boot not working
Maybe someone can point me into the right direction here
I have a dnsmasq DHCP Server in a separate Subnet (10.17.131.42)
and another Network that has NO local DHCP Server (10.33.0.0/16)
The Switch in this Network forwards the DHCP requests properly…

Daywalker
- 495
- 5
- 25
1
vote
0 answers
dnsmasq using separate dhcp server
I've been a happy user of dnsmasq on my SOHO LAN for years, providing both DNS services and dhcp services.
However, after switching to AT&T's fiber service, I need to separate responsibility for dhcp and DNS. That's because AT&T requires you to use…

Mark Olbert
- 111
- 3
1
vote
2 answers
DHCP dnsmasq for infinite lease
I am using dnsmasq to serve IPs for about 200 vservers.
Leasetime is infinite:
dhcp-range=10.0.1.2,10.0.1.254,infinite
I don't know why, but 1 vserver changed IP. Let's say MAC address changed.
I wanted the vserver to get back his old IP, so i shut…

Ralf Viellieber
- 31
- 1
- 2
- 5