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.
281
questions
0
votes
0
answers
59
views
Understanding DNS IPv6 result using dnsmasq
I'm new to IPv6.
I've redirected a domain to 0.0.0.0 on dnsmasq DNS server like so:
address=/domain.com/0.0.0.0
when I use nslookup on this domain using my DNS server I get the following result:
...
1
vote
1
answer
47
views
dnsmasq not block google.com subdomains
dnsmasq installed on my server and has the following configuration:
no-hosts
no-resolv
server=8.8.8.8
server=8.8.4.4
server=/google.com/127.0.0.1
address=/google.com/127.0.0.1
server=/*.google.com/#
...
1
vote
1
answer
72
views
Unable to forward and receive internet traffic through Raspberry Pi 4 Wifi AP
There are many tutorials out there showing how to set up a Wifi AP using Raspberry Pi 4, all with different configurations. I am trying doing it with my specific setup as following:
RPi4 acting as ...
0
votes
1
answer
63
views
Router not responding to DNS queries?
I'm trying to build a VPN with zerotier since I don't have a public IP. I have an ASUS router at home with zerotier installed which joined the network with ip (192.168.195.208). I'm currently trying ...
0
votes
1
answer
84
views
Accessing resource with a single URL over two networks -- home network and remote (wireguard) network
Wireguard network
I am currently trying to setup a wireguard tunnel in this format. The reason I am using wireguard is to tunnel through my home's NAT (I do not have a static IP or access for port ...
0
votes
1
answer
151
views
dnsmasq captive portal with ipset/nft "allowed list"
I'm playing with dnsmasq to create some kind of captive portal.
Idea is:
dnsmasq by default rewrite all DNS requests to local ip (address=/#/123.123.123.123), and nginx is already setup here to ...
0
votes
0
answers
105
views
ipv6 - how to make network hosts ignore advertised DNS
On my home network I have:
Router provided by my ISP. DHCP server switched off in its configuration
Raspberry Pi, running dnsmasq (among other things), providing DHCP and DNS servers.
The Raspberry ...
1
vote
0
answers
617
views
How to prevent dnsmasq from creating AAAA records for hosts using DHCPv6?
I have a dual stack (V4+V6) internal network with dnsmasq providing DNS, DHCP, and DHCPv6 services. I want to use ipv4 for most of my internal host to host communications, so I don't want dnsmasq to ...
0
votes
1
answer
108
views
bind9 for DNS64 and dnsmasq for RAs and local DNS
I need to run bind9 as a DNS64 server on four interfaces and dnsmasq for DNS resolution for the loopback interface and to provide Router Advertisements for the DNS64 interfaces.
bind9 is active on ...
0
votes
1
answer
270
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 Fedora 39 machine
My configs are:
/etc/dnsmasql.conf (default, nothing changed):
user=dnsmasq
group=dnsmasq
interface=lo
bind-interfaces
...
0
votes
0
answers
133
views
bind9 equivalent to dnsmasq's resolv-file option
I am currently using dnsmasq as a DNS forwarder for 1.1.1.1, but I need to switch to bind9.
/etc/resolv.conf points to localhost.
In my /etc/dnsmasq.conf I have the following:
resolv-file=/run/resolv....
0
votes
0
answers
520
views
Dnsmasq block every domain as NXDOMAIN
With Dnsmasq version older than 2.86 I was able to add the directive address=/#/ to dnsmasq.conf and it would block every query and mark it as NXDOMAIN exactly as I want it.
Since Dnsmasq 2.86 release ...
0
votes
0
answers
459
views
How can I configure dnsmasq as a simple subdomain authoritative server (re: home network)
I'm trying to use dnsmasq as the primary dns server for my private network and I'd like dnsmasq to return authoritative responses for *.home.mydomain.com but also recursively resolve all other queries....
3
votes
1
answer
1k
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/...
0
votes
2
answers
3k
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 ...