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
0
votes
1 answer
How to allow subdomain in dnsmasq
In my dnsmasq.conf file, I use the following rule o block all domains ending with .be:
address=/be/
But I would like to have an exception for youtu.be.
How can I do this?

ellat
- 3
- 1
0
votes
0 answers
Error DNS over HTTPS Setup "Unable to Find the DNS Parameter"
I am having problems finding a guide that provides what I need to setup DoH on a self-hosted server. In the end, my final error is "Unable to find the DNS parameter" when using POWERDNS DNSDIST as my DoH server. DNSDIST is installed from ubuntu apt…
0
votes
0 answers
How to troubleshoot PXE boot from DD-WRT dnsmasq not sending tftp server info?
I have a MikroTik hEXs router (firmware v6.47.1) which I want to flash with OpenWRT. The OpenWRT wiki site has detailed instructions on the procedure, and it requires that one netboot the router. My problem is that I can't get the hEXs router to…

PattMauler
- 111
- 1
- 6
0
votes
1 answer
Is it possible to add ip address to dnsmasq.conf instead of url
I'm very novice on this so please answer if you can.
Is it possible to add ip address instead of url/domain to dnsmasq.conf file
Here is an example of what I…

Simon
- 101
0
votes
1 answer
dnsmasq on ubuntu 22.04.: listen-address ignored
Currently 2.86-1.1ubuntu0.3 is running on ubuntu 22.04.
I used
listen-address=127.0.0.1
listen-address=[public-ip-1]
listen-address=[public-ip-2]
port=53
But dnsmasq binds on all IPs:
netstat -tulpn | grep dnsmasq
tcp 0 0 0.0.0.0:53 …

Thilo Schwarz
- 103
- 3
0
votes
0 answers
How to have dnsmasq resolve local domains, but also use DHCP-provided name servers?
I'm using Pi Hole on my local network, and in addition to providing DNS service, it's responsible for allocating IPs via DHCP, and clients are provided with its IPs to use for DNS.
This all works fine by itself - a client joins the network, gets an…

Synchro
- 3,148
- 6
- 27
- 38
0
votes
0 answers
Dual dnsmasq name resolution
For resilience, I have two dnsmasq instances providing both local DNS and DHCP. DHCP is configured to offer separate IP ranges from each instance.
I then add IP reservations to the /etc/dnsmasq.d/99-static-dhcp.conf files on each instance, and…

Derek
- 1
0
votes
0 answers
Arista ceos dnsmasq
I'm using Arista cEOS 4.29.2F and I'm trying to use the dns proxy that this device allow.
However, when I do systemctl status dnsmasq on the Arista's bash, its output is:
● dnsmasq.service - SYSV: This script starts your DNS caching server
Loaded:…
0
votes
0 answers
Forward subdomain to another dns-server with dnsmasq
I have dnsmasq as main dns-server in localnet(192.168.0.14).
It's serve local domain 'example'. Also I have another dns-server(bind9 - 192.168.222.67) that serve domain 'virt.example'
Here part of dnsmasq…

cppmm
- 1
0
votes
1 answer
Dnsmasq forward refused to other Dnsmasq in Docker container
Given two DNS servers, one runs on localhost (127.0.0.1:53) and the other in a Docker container (172.18.0.3:5300).
When I tried to check domain resolve through at localhost DNS with dig or nslookup commands the request is…

adampweb
- 121
- 6
0
votes
0 answers
dnsmasq not resolving hosts properly
Using DD-WRT, dnsmasq seems to be failing to correctly resolve hosts, and I can not understand why.
root@gcs:~# cat /etc/resolv.conf
nameserver 192.168.1.1
root@gcs:~# cat /tmp/dnsmasq.conf
...
dhcp-option=6,10.3.4.10,10.4.4.10
root@gcs:~#…

Matt Clark
- 685
- 1
- 10
- 26
0
votes
0 answers
Dnsmasq not resolving local domains with different port number
I have my dnsmasq config setup like:
no-resolv
address=/domain1.test/127.0.0.1
address=/domain2.test/127.0.0.1
port=53
And my system fails to resolve domain1.test but, domain2.test works fine. The only difference is domain2.test is a HTTP server…

Erdss4
- 135
- 1
- 6
0
votes
0 answers
How to reset dnsmasq console settings?
I'm running the RaspAP on my Raspberry pi and changed some dnsmasq settings in the terminal. Since then I can't connect to any service running at the raspberry. I want to reset the settings I made but have no clue how to do that.
The following…

Justin
- 1
- 1
0
votes
0 answers
Assigning single DHCP server for multiple subnets on vlans (dnsmasq.conf)
I have 3 hosts each connect to a different VLAN, the DHCP server is working fine, it gives all hosts dynamic IPs. My issue is when it comes to iptables rules I can't prevent host 2,3 from a specific service, I wanted only host 1 to communicate with…

user995295
- 1
- 1
0
votes
0 answers
Adding another TLD to dnsmasq installed with Laravel Valet
I've got Laravel Valet set up on my Mac (Monterey 12.5.1) to run PHP based sites locally on the .test TLD. This all works as expected and everything is fine.
I'm trying to set up another fictional TLD (.6d) to point to a server on my LAN (say…