Skip to main content

Questions tagged [dnsmasq]

dnsmasq is a lightweight DHCP, DNS and TFTP server application for *nix platforms intended for use on small and home networks.

-1 votes
0 answers
30 views

Subdomains only work sometimes when accessing homeserver in local network [migrated]

i'm in the process of setting up a little homeserver for my family on a 1L pc. Its running debian and a couple of docker containers like immich, jellyfin and paperless-ngx. The server should be ...
dowhilefor's user avatar
0 votes
1 answer
48 views

Debian NAT Gateway with dnsmasq DHCP, reachable via internal IP

I have setup a Debian 12 machine as an IPv4 NAT Gateway / Router by following the various tutorials on the internet (mostly following arch wiki) and tried to do it the most modern way possible. I use ...
kingspride's user avatar
0 votes
1 answer
32 views

How do I revert to default address in dnsmasq if the override addresses fail?

for example, if I have something like address=/steamcontent.com/192.168.0.225 which redirects to my server (192.168.0.225), how do I make it go back to steamcontent.com if my server goes down? ...
Pickle Tickle's user avatar
0 votes
1 answer
63 views

How to set a local custom domain name without a top level domain with dnsmasq?

Currently I'm following https://github.com/RMerl/asuswrt-merlin.ng/wiki/Custom-domains-with-dnsmasq on my router. I've created a dnsmasq.conf.add file with address=/g/192.168.0.96 in it. I can access ...
Pickle Tickle's user avatar
0 votes
0 answers
146 views

Resolve different subdomains for different subnets with dnsmasq

I have a dnsmasq server with DHCP and DNS enabled. It serves multiple subnets. My goal is to dynamically register connected machines from different subnets on different subdomains. All of my subnets ...
Bnr's user avatar
  • 11
0 votes
1 answer
906 views

Set up dnsmasq as a DHCP Proxy for UEFI HTTP(S) boot

Can I set up dnsmasq as a DHCP Proxy for UEFI HTTP(S) boot? It appears hard to impossible, as dnsmasq only seems to support being a proxy for the older TFTP-based PXE Boot, and I don't want to send ...
MikeBeaton's user avatar
0 votes
1 answer
301 views

How to allow a domain and block all subdomains in dnsmasq?

In my dnsmasq.conf file, I have either one of two sets of rules: Set 1: no-resolv server=8.8.8.8 server=/firebaseio.com/# address=/*.firebaseio.com/ Set 2: no-resolv server=8.8.8.8 server=/...
ellat's user avatar
  • 5
0 votes
1 answer
45 views

Is there anyway to include an external rules file other than hosts in dnsmasq.conf?

In my dnsmasq.conf, I include thousands of rules, e.g. address=/example.net/ I know that it is possible to include an external hosts file using the line addn-hosts=/etc/hosts But is there a way to ...
ellat's user avatar
  • 5
0 votes
0 answers
70 views

What is the maximum size of entries I can have in dnsmasq.conf

What is the maximum size of entries, e.g. server=/allow.com/# and address=/block.com/# can I have in my dnsguardian config file /etc/dnsmasq.conf? I already have hundreds inside. I would like to ...
ellat's user avatar
  • 5
0 votes
1 answer
49 views

DNS lookups using dnsmasq on a different network

I have a local network with a server running dnsmasq that acts as both a DHCP and DNS server. Let's call this network A. This is all working very well. I have it set up to not have a domain, so I can ...
Eric Sokolowsky's user avatar
0 votes
2 answers
221 views

Difference between modifying /etc/hosts vs using dnsmasq service

After reading the man pages of dnsmasq it seems either way it checks /etc/hosts so what exactly is the difference between adding IP: domain names in /etc/hosts and doing the same plus run dnsmasq on ...
CupOfGreenTea's user avatar
2 votes
2 answers
1k views

dnsmasq reads addn-hosts config but ignores it, falls back to system's /etc/hosts

I'm running dnsmasq installed as a NetworkManager plugin on my local Fedora 39 machine. All I need from dnsmasq is basically support for additional hosts files that I can organise by topics. My ...
vrs's user avatar
  • 153
2 votes
1 answer
564 views

How to configure DHCP relay when NAT is also used?

I have a multi-homed application server that serves multiple networks that are not connected with each other (other than being all connected to the server, each one on its dedicated network interface)....
raj's user avatar
  • 512
0 votes
0 answers
89 views

How to exclude dnsmasq used by libvirt from Mullvad VPN's "local network sharing" block

I don't use the local network except dnsmasq for libvirt. With blocking local network I have no DNS on my VM. For that reason I want to exclude dnsmasq from the local network sharing block with split ...
clooney's user avatar
0 votes
0 answers
48 views

Meaning of "Flags" column in dnsmasq log output

I sent a SIGUSR1 signal to the dnsmasq process to make it write statistics to the system log. Here's an excerpt of what dnsmasq wrote to the system log: daemon.info dnsmasq[1]: Host ...
Flux's user avatar
  • 115

15 30 50 per page
1
2 3 4 5
29