Questions tagged [dnsmasq]

Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP server. It is designed to provide DNS and, optionally, DHCP, to a small network.

Filter by
Sorted by
Tagged with
0 votes
1 answer
46 views

dnsmasq DHCP server on Mac OS - not working

I'm trying to set up a DHCP server using dnsmasq on Mac OS (Ventura) so that it can serve IP addresses to virtual machines that I am running. I have included this line into my /opt/homebrew/etc/...
ghik's user avatar
  • 111
0 votes
2 answers
47 views

how to configure centos against new dns server and port

let's say I installed on my local machine a dns server with port 5353 how to configure it as other dns on /etc/resolv.conf my resolv.conf looks like this nameserver 14.2.3.1 nameserver 14.2.3.2 How ...
dave's user avatar
  • 103
0 votes
0 answers
48 views

Distinct DNS for two VLANs using Dnsmasq and FreshTomato

I have two VLANs on my router and am trying to serve distinct DNS to each of them. I found this thread that shows a user trying to accomplish something similar. I've done research before finding that ...
David Beegle's user avatar
1 vote
0 answers
59 views

Linux dnsmasq and Windows

I have a Pi Buster OS (debian variant) in which I use dnsmasq and it is configured as a DHCP server. I have Pi connected to laptop like a null mode. When Pi starts up, it is all good and PC soon sees ...
xXCodeMonkeyXx's user avatar
0 votes
0 answers
75 views

dnsmasq in Docker container often not receiving replies

I have dnsmasq running in a docker container (Docker Desktop on Mac) docker-compose.yaml version: '3' services: dns: restart: unless-stopped image: strm/dnsmasq container_name: dnsmasq ...
Sandro's user avatar
  • 101
2 votes
1 answer
263 views

Dnsmasq not resolving hosts that have static IP

I am wanting to keep all of my configuration in the dnsmasq.conf file, therefore, am not maintaining a separate hosts file. For some machines that are not running a DHCP client, and never request an ...
Brian Michalk's user avatar
0 votes
0 answers
66 views

DNS Server Emulation using a local test domain name for VirtualBox

I see nginxreverseproxy does not work in Virtualbox as if it will work on a Server. Check this Question. Based on my research I see dns servers are important to manage domain names. So I think if I am ...
zakadmin's user avatar
0 votes
0 answers
82 views

How to get hostname from IP using consuls DNS

I have consul cluster with different microservices serving..., 5 out of them are also part of hadoop cluster... We have kerberos authentication in hadoop. All the cluster nodes are authenicated via ...
Uddhav Savani's user avatar
0 votes
0 answers
319 views

IPv6 and/or 'dnsmasq' for DNS | DHCP also

Preface I'm far from being a network manager, and not really know much about IPv6 (yet), but slowly I have to. I have an RPi4 based server in my home, basically for Home Assistant smart-home ...
Tamás Tóth - ebola's user avatar
0 votes
1 answer
217 views

How to obtain reserved IP address from dnsmasq DHCP server?

I'm working on an assignment that asks me to connect 2 VMs to each other. The first (king) functions as a DHCP server using dnsmasq. The second (queen) is supposed to be provided with a reserved IP ...
jeerum's user avatar
  • 1
0 votes
0 answers
372 views

dnsmasq not resolving local domain while connected to vpn

I'm a Linux user, and I've searching a way to map dynamic subdomains in my Apache installation, just for development reasons. So, I have a folder tree like this: Sites ├── client1 │   ├── project1 │   ...
RBFraphael's user avatar
1 vote
1 answer
117 views

How to use TLD name only for internal network

I found a lot of different variations of these questions, but none of similar to something I would like to do. I had a dnsmasq running with pointing to my local (internal server). My router was ...
Evilguy's user avatar
  • 121
0 votes
0 answers
143 views

Ubiquiti UDMP behind Pi-Hole / dnsmasq - Search Domains not working

I have a UDMP with multiple networks, each supplying their own search domain(s) via the Custom DHCP Option of 119 in the Dream Machine Pro. I can see on my machines - specifically my MacBook, that ...
CDub's user avatar
  • 101
1 vote
0 answers
116 views

How to configure RPi to work as wifi access point that uses a Burp as a proxy?

I am attempting to use a Raspberry Pi Model B+ as a WiFi access point with the IP address of 192.168.0.1. This access point should redirect all HTTP and HTTPS traffic to a different machine with the ...
HackLikeDemons's user avatar
0 votes
2 answers
253 views

Use different source IP for different DNS lookups

I have a Linux VM which is connected to 2 different virtual networks. Say IP-1 (in vnet-1) = 192.168.0.5/24 and IP-2 (in vnet-2) = 172.16.0.6/24. I have a DNS server (say 10.0.0.10) which returns ...
Vishesh Agarwal's user avatar
0 votes
0 answers
271 views

How to set up DNS encryption on my home router?

I set up OpenWRT on my Belkin RT3200 and I want to have quad9 encrypted DNS with dnssec and Secure SNI, but I could not figure out how to set up DNScrypt correctly on my router and I'm not sure if ...
user avatar
0 votes
0 answers
64 views

Netns namespaces not isolating ports from being shared between host/global namespace and the created namespace

I run dnsmasq instance on netns exec namespace mine, it says port 53 is in use. So netns doesn't isolate ports even though it isolates interfaces and therefore IP address. I want it to isolate all ...
Kim K. M's user avatar
0 votes
1 answer
411 views

How Implement login/authorization to captive portal?

I already have the captive portal working. Now the problem I have is the "authorization/login", I want the client to access the internet after passing the portal page/conditions. How do you ...
Osmar Baez's user avatar
0 votes
1 answer
405 views

Losing client side domain name resolution after rebooting the corresponding DHCP/DNS server based on 'dnsmasq'

As I'm far from an advanced network manager, please help me if you can. Some weeks ago I 'reconfigured' my home network with a manageable DNS/DNS relay service to allow us to use home only domains ...
Tamás Tóth - ebola's user avatar
2 votes
1 answer
1k views

How to disable Dnsmasq listening on port 53 on Ubuntu 20.04?

I am using Ubuntu 20.04. airgeddon has it: The port 53/udp is being used by some program or process different than airgeddon (probably dnsmasq). How to disable Dnsmasq listening on port 53? Output of ...
Dmitriy Ogureckiy's user avatar
2 votes
1 answer
1k views

Windows clients are not resolving internal hostnames using dnsmasq

Setup There are at minimum 3 devices involved in my setup: raspberry pi: This has dnsmasq configured and is intended solely to function as a DNS server for my LAN, should I choose to use it instead ...
Sani Evans's user avatar
0 votes
1 answer
247 views

pihole-FTL (dnsmasq) removes the default route when supplied with option 121

I have a Linux box that serves as a DHCP, DNS (via pihole-FTL) and WireGuard servers. I wanted to make the VPN network reachable from the network that device is on. After some research I found option ...
adamski234's user avatar
0 votes
2 answers
3k views

How to set up dnsmasq under linux to use a wildcard domain for local web development with lando/docker?

I recently discovered lando for local web development, which uses docker in the background. It works great so far, but I have to add every domain for each project manually to my hosts file /etc/hosts: ...
jost21's user avatar
  • 707
0 votes
1 answer
1k views

How to configure Debian 11 Desktop PC (computer with GUI) as a router (internet sharing)

I have two desktop machines, Windows 10 and Debian 11. These machines both have single 1G ethernet ports on the motherboards as well as an ASUS 10G PCI-e add in card. I don't own a 10G switch to ...
user3728501's user avatar
  • 2,506
0 votes
0 answers
220 views

redirect all local requests for a domain name to local server

I host a small asp.net website for my business on a Windows Server 2019 box. I use IIS to host it and access it from both outside my local network (from home) and from within the network. I use a ...
Dan Wier's user avatar
  • 121
0 votes
0 answers
177 views

DNS entry works in linux but not on windows - dnsmasq

I have dnsmasq setup to serve some home domain names, things like mqtt, node-red and so on to make managing my home network easier. I have it setup and working fine - except on windows... My hosts ...
Roaders's user avatar
  • 287
1 vote
1 answer
402 views

dnsmasq split-horizon DNS IPv6 and CNAME

I maintain domain name example.com which has a subdomain a.example.com. Public DNS server for a.example.com is configured with a CNAME foo.example.com record which in turn points to AWS. Outside of my ...
Ghostrider's user avatar
0 votes
0 answers
1k views

replacing dnsmasq w/ systemd-resolved - alternative to 'address' directive

Been using dnsmasq for ages - mostly for local caching and blocking out dubious domains. Now I have need for split-DNS, so it's time to switch to systemd-resolved. One major feature I'm using from ...
laur's user avatar
  • 193
0 votes
0 answers
35 views

Windows-10 : Not able to access internet through Wi-Fi when Ethernet interface is not active

I have a windows-10 machine having 2 different interfaces. Ethernet adapter Ethernet: Connection-specific DNS Suffix . : IPv4 Address. . . . . . . . . . . : 192.168.0.101 Subnet Mask . . . . . . . . ....
Vidhi V.'s user avatar
0 votes
0 answers
310 views

How to configure dnsmasq as a DNS server, alongside apache, so that a DNS domain that points to internal IP is accessible by the same server and LAN

I have an web server running apache web server in my home network. My router unfortunately does not allow NAT loopback, so testing my own projects, or accessing other self-hosted services (owncloud, ...
ricardo3889's user avatar
1 vote
1 answer
924 views

dnsmasq assigns the same IPv4 address for different hosts

I have a problem with dnsmasq DHCP server on Linux. I use Arch Linux as operation system for a server and clients. They are virtual machines if it does matter. The problem is that dnsmasq assigns the ...
zenno2's user avatar
  • 145
2 votes
1 answer
473 views

GnuPG and dnsmasq can't resolve a DNS without /etc/resolv.conf using systemd-resolve

I have installed the Arch Linux distribution. Arch Linux uses systemd as a system service suite, so it also uses systemd-resolved to resolve a DNS. I use DHCP to receive DNS servers and resolve the ...
zenno2's user avatar
  • 145
0 votes
1 answer
382 views

Split Horizon DNS Causes Entire Network DNS Failure

The Problem I have setup a Raspberry Pi 4 on my local network. This device is both a web-server and (now, by necessity) a DNS-server. This device needs to be reached from both inside, as well as ...
GoreDefex's user avatar
  • 149
1 vote
0 answers
3k views

Different ways to set custom DNS servers in OpenWRT 19.07.7

There are 4 different ways to set a custom DNS server in OpenWRT / LuCi, and it confuses me: This is the method I'm currently using. It also was recommended online. Note that the LAN interface is ...
HYBR1D's user avatar
  • 111
1 vote
2 answers
936 views

Can't resolve hostname in sub-network

I have a raspberry pi (192.168.1.1) set up as an AP for a few devices. The WIFI connection works, DHCP also seems to give out valid addresses. The issue is that none of the devices in the network are ...
Daniel D.'s user avatar
1 vote
0 answers
872 views

dnsmasq to route a subdomain

I've setup OpenMediaVault with NextClound on a RPi4. To access it I setup a domain on duckdns, mydomain.duckdns.org. Nginx is configured to use a subdomain to access nextcloud, so from outside of my ...
metRo_'s user avatar
  • 111
1 vote
1 answer
305 views

Use dnsmasq to test a future DNS migration

I'm planning to migrate my domain's DNS from one provider to another. ("mydomain.com" as I have to censor the real name) Technically, it's just a matter of changing the NS records before the ...
Camusensei's user avatar
5 votes
0 answers
869 views

dnsmasq for looking up `.local` domains on the clients that don't support mDNS

mDNS (e.g. avahi, bonjour) allows a machine to advertise itself as machine-name.local on its LAN, and allows clients to look it up by that domain name instead of by IP. Most platforms support mDNS out ...
Peeyush Kushwaha's user avatar
0 votes
0 answers
2k views

Dnsmasq: Log all DNS queries from specific IP/device

I use Dnsmasq to resolve DNS queries in my local network. To prevent the TV from loading ads/tracking me, I set up dnsmasq to resolve dozens of domains to localhost. However, this has downsides. TV ...
Harald Thomson's user avatar
1 vote
0 answers
364 views

Setup DNSMasq as caching DNS server and DHCP for local network for IPV6 with a seperate router/gateway

I have setup a home network on which I have been running my DNSMasq IPV4 caching DNS server for a few years. It is not the router/gateway and I want to add support for IPV6 and what I think I ...
Ross's user avatar
  • 1,306
1 vote
0 answers
3k views

Set up local domain in OpenWRT

I have a TP-Link TL-MR 3420 v2 router set up as a Wi-Fi repeater running OpenWRT. The router has been set up in a "briged mode". The router is connected to my phone's hotspot through OpenWRT'...
Growtopia Jaw's user avatar
1 vote
0 answers
194 views

dnsmasq - Disable integration of DHCP-configured hosts into the DNS

In a common dnsmasq installation, serving as both a DHCP server and a DNS server, the DHCP server integrates with the DNS server and registers the hostnames of DHCP-configured hosts into the DNS. For ...
P. Rodríguez's user avatar
1 vote
1 answer
1k views

Is dnsmasq using port 53 a vulnerability?

I ran an nmap scan on my home network and linux machine. There were a few suspicious ports open so I used the command netstat -tanp|grep LISTEN to investigate further. The output was that dnsmasq is ...
i'i'i'i'i'i'i'i'i'i's user avatar
4 votes
1 answer
3k views

Best choice for private/home network TLD? Overlap with mDNS?

I'm trying to make my home network settings sane and I noticed I have a mix of TLDs with .local and .localdomain (the latter is the default of my Ubiquiti Security Gateway). I understand that .local ...
DaveBurns's user avatar
  • 143
0 votes
1 answer
761 views

which dns server is being used by dnsmasq

Is there a way to determine that a DNS server (dnsmasq) is or is not using 8.8.8.8? I have a Google Nest Wifi Router, and it seems clear (in the diagnostic report[1]) that it is prepending[2] google'...
r2evans's user avatar
  • 530
9 votes
0 answers
4k views

What are the real world differences between bind, systemd-resolved, dnsmasq, etc.? [closed]

I'm trying to achieve three simple goals (on our CentOS8 server)... local DNS resolution/caching DNSSEC DNSoverTLS At first I went straight for dnsmasq because that was what it seemed most people ...
oucil's user avatar
  • 277
1 vote
3 answers
3k views

Is it possible to round robin DNS requests?

I'm not sure I've phrased this appropriately, but what I'm trying to accomplish is an ever so slight annonymization of the machines online footprint by issuing DNS queries to a list of DNS servers in ...
oucil's user avatar
  • 277
0 votes
1 answer
1k views

dnsmasq not responding to queries for local names

I have what I thought was a simple configuration: I want dnsmasq to respond for hostnames in a local hosts file specified using the addn-hosts option. The complete configuration looks like this: ...
larsks's user avatar
  • 4,063
1 vote
2 answers
6k views

dnsmasq listen on 0.0.0.0 when started by NetworkManager

Is it possible to configure NetworkManager or dnsmasq to listen on 0.0.0.0 when dnsmasq is started by NetworkManager process ? I have noticed whatever I put in /etc/NetworkManager/dnsmasq.d/00-...
Igor Delac's user avatar
0 votes
1 answer
52 views

Local DNS for 3 VPN connected sites

I currently have 3 R Pis running Dnsmasq at 3 sites providing local name resolution. Each site is connected to the other two with LAN-to-LAN VPNs. Each site also has dial-in VPN access. I would like ...
Sabreur's user avatar
  • 53

1
2 3 4 5 6