Questions tagged [dnsmasq]
DNSmasq is a lightweight DNS forwarder, DHCP and TFTP server, designed to provide DNS (and optionally DHCP and TFTP) services to a small-scale network.
240 questions
0
votes
1
answer
61
views
Neutron-dhcp-agent failed to start dnsmasq process
# tail -f neutron-dhcp-agent.log
2025-05-28 21:20:11.019 9535 ERROR neutron.agent.linux.utils [None req-a68599f9-502b-4c20-8937-2b73a84c9b3b - - - - - -] Exit code: 3; Cmd: ['ip', 'netns', 'exec', '...
0
votes
0
answers
527
views
DHCP Server with dnsmasq on an Access Point
Using hostadp I successfully created an Access Point on my Ubuntu 24.04 system. It works so that I can log into the WiFi from every device and also use windows Remote Desktop over the WiFi on the ...
0
votes
0
answers
150
views
Enable pi-hole along with hotspot
I installed Pi-hole successfully but I'm enabling hotspot, so I got this error:
FTL failed to start due to failed to create listening socket for port 53: Address already in use (by dnsmasq)
When I ...
8
votes
3
answers
9k
views
Can dnsmasq be used as a local DNS server, and have dnsmasq forward queries to the local systemd-resolved service?
I want to have dnsmasq handle incoming DNS queries first, and only forward the question to systemd-resolved if dnsmasq itself does not have the answer.
To be very clear: I know how to disable systemd-...
1
vote
0
answers
292
views
dnsmasq with round-robin always returns the same address
I am on 24.04 with dnsmasq running on it. I want the dns clients get different IP addresses each time they query the same record. For detail, I try to load the balance of different wireguard clients ...
5
votes
1
answer
7k
views
dnsmasq failed to start following update to ubuntu server 24.04.1 from 22.04
I upgraded my ubuntu server from 22.04 to 24.04.1. Upon a reboot i saw that dnsmasq failed to start. I found that this was because it was sharing port 53 with systemd-resolved. So i went into the ...
0
votes
0
answers
122
views
ptr on private network ranges
How can i use reverse dns (ptr) in a private network for example 192.168.0.x/24 .
Can this be done using dnsmasq or is a complete dns server required for this to work as a forwarder ?
0
votes
1
answer
2k
views
QEUM KVM unable to start default network
I am trying to spin up a VM using KVM on Ubuntu. I am faced with an error when trying to set up Network settings no matter the choice:
Unable to complete install: 'Requested operation is not valid: ...
5
votes
2
answers
9k
views
dnsmasq is not logging dns queries
Here's how I am debugging this issue from the command line:
$ dnsmasq --no-daemon --log-queries
Putting the log-queries option in the config file and running it as a daemon still showed nothing on ...
0
votes
2
answers
4k
views
How to change DNS servers in /etc/resolv.conf?
I have installed dnsmasq and disabled systemd-resolved. dnsmasq will only use local hosts.dnsmasq and not forward any request.
addn-hosts=/home/users/hosts.dnsmasq
resolv-file=
The problem is that my ...
0
votes
0
answers
92
views
dnsmasq ERR_TOO_MANY_REDIRECTS
I created ubuntu 22.04 router for my home network with dnsmasq and everytime i do a google search and landed on a website that is sponsored by google, it will result ERR_TOO_MANY_REDIRECTS. I'm not ...
3
votes
0
answers
4k
views
systemd-resolve and dnsmasq on a server
i have the following issue on a server where i have dnsmasq installed:
$ systemd-resolve --status
Failed to get global data: Unit dbus-org.freedesktop.resolve1.service not found.
and that leads to ...
-2
votes
1
answer
4k
views
Ubuntu 22.04: The DNS Cache Problem [closed]
INTRO:
I'm sure quite a few people have run into problems with DNS caching. There are plenty of hints and tips for flushing DNS cache in Ubuntu, and the more rare info about disabling it altogether. ...
0
votes
1
answer
749
views
How to set up Ubuntu system to use DNS on LAN host for local names
I've set up dnsmasq on a Raspberry Pi, and would like all my hosts on the LAN to use it. I have set the Pi's IP address in the router as primary DNS server. However, something in the Ubuntu system is ...
1
vote
0
answers
185
views
DNS upstream IP not changing on dnsmasq with Netplan
I am running dnsmasq (Version: 2.80-1.1ubuntu1.5) on Ubuntu-20.04.04, the network interface is being managed by Netplan rendered inuse is networkd.
The DNSMasq forwards requests to the upstream ...