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
1answer
18 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 ...
0
votes
0answers
13 views

Ubuntu 20.04 hotspot connection not resolving DNS for iPhone device

I have a wired connection on Ubuntu 20.04. I create a Hotspot connection. I believe NetworkManager automatically creates the following for my wireless interface: inet 10.42.0.1 netmask 255.255.255.0 ...
1
vote
0answers
44 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 ...
0
votes
0answers
7 views

Using other websites domain name

I am a linux user. I have a static ip, so is it possible to host dns? I want like ,if someone browse my ip like http://172.182.12.1 (example) It should show them after loading as mydomain.com (example)...
1
vote
2answers
30 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 ...
1
vote
0answers
48 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 ...
0
votes
0answers
39 views

Evil twin using hostapd and dnsmasq won't work

I am trying to recreate an Evil Twin attack for training purposes. I am using Kali Linux in Virtual Box and an Atheros wireless card. I would like to use hostapd for creating the network and dnsmasq ...
0
votes
0answers
25 views

avahi or dnsmasq on home LAN (+ access from internet)?

I have a "home lab" where I am setting up a cluster of raspberry pi 4s that I am planning to install a Kubernetes cluster on. It will primarily be used for internal home projects but I will ...
1
vote
1answer
118 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 ...
3
votes
0answers
193 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 ...
0
votes
0answers
210 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 ...
1
vote
0answers
127 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 ...
0
votes
0answers
21 views

How to bridge two adapters inside a Docker container?

Imagine you have a Raspberry Pi with wlan0 and eth0. Wlan0 is connected to the internet, and eth0 is connected to some downstream hardware like another Pi. There is dnsmasq running as a DHCP server to ...
0
votes
0answers
60 views

How do I set up an ovirt engine to run VMs?

I've installed oVirt (Node), and I'm trying to set up an engine to start running some VMs. I'm having trouble figuring out the FQDN (both engine VM FQDN and host FQDN). I have a Raspberry Pi running ...
0
votes
0answers
35 views

DNSMASQ set up - Connecting two computers over a Ethernet cable

I have an Host A where I have my VM running Kali and Host B, which is a Win computer. I want to have Host A as the only one computer connected to the Internet, so Host B must pass through Host A via ...
0
votes
0answers
63 views

How to setup PXE boot over IPv6 on dnsmasq (w/ DD-WRT)

I have been looking online for the past 2 days to find any documentation on this, and it has turned up nothing. For context, I am running a small homelab operation and have recently deployed MAAS and ...
1
vote
0answers
416 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'...
0
votes
0answers
17 views

Can dnsmasq allocate IPs defined in /etc/hosts

I have a pair of Raspberry Pi Zero W connecting to each other through WiFi. They have their hostnames configured as "server.example.com" and "client.example.com". I run hostapd and ...
1
vote
0answers
36 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 ...
0
votes
1answer
270 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 ...
0
votes
0answers
114 views

dnsmasq with NetworkManager failing to resolve over dhcp wifi

According to man NetworkManager.conf, dnsmasq must be given in NetworkManager.conf in the form dns=dnsmasq for Nm to use dnsmasq for DNS resolution using nameservers given in the file or an ...
3
votes
1answer
437 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 ...
0
votes
0answers
17 views

Why does dnsmasq fail to prevent access on certain subdomains?

I have the following rules on /usr/local/etc/dnsmasq.conf. address=/news.yahoo.co.jp/127.0.0.1 address=/chiebukuro.yahoo.co.jp/127.0.0.1 address=/jp.quora.com/127.0.0.1 address=/fc2.com/127.0.0.1 And ...
0
votes
0answers
16 views

Understanding flags in record of dnsmasq

let's look at record returned by dnsmasq (records are returned on SIGUSR1 signal). test-0001 dnsmasq[1815]: test-0003.domain.com 10.45.0.22 4FRI H Flags here are 4FRI. Could anyone explain ...
0
votes
1answer
356 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'...
3
votes
0answers
1k 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 ...
0
votes
1answer
874 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 ...
0
votes
1answer
424 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: ...
0
votes
2answers
2k 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-...
0
votes
1answer
23 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 ...
0
votes
1answer
181 views

Debian iptables Misconfiguration when Connected to VPN

TL;DR Debian router works fine until I connect VPN, then some misconfiguration in iptables (or route tables) makes it so the router itself cannot ping IPs/Domains through tun0, therefore DNS servers. ...
0
votes
1answer
352 views

Linux Network device drops and restarts in a loop

I have a decently unique stack I am working through, so any diagnostic/debugging strategies are greatly welcome. Setup: Ubuntu 18.04 desktop, PCIe network card with 2 ports. Two Ethernet camera ...
0
votes
0answers
2k views

Failed at step EXEC spawning /usr/sbin/dnsmasq: No such file or directory

So what I did was, I installed dnsmasq using the command apt-get install dnsmasq Now, what happens is root@kali:~# dnsmasq bash: dnsmasq: command not found root@kali:~# /etc/init.d/dnsmasq start ...
1
vote
1answer
2k views

Get dnsmasq to automatically register hostnames in its DHCP network on its DNS

I have configured dnsmasq to dish out 10.0.0.* addresses to hosts on an ethernet LAN. The hosts on this network request static IP addresses using DHCP from the dnsmasq server running on 10.0.0.1. They ...
1
vote
0answers
108 views

scutil does not change the resolv.conf when the primaryservice is forticlientsslvpn on macOS Mojave

I use the version 6.0.8_149 of forticlient. In the configuration of the forticlient, you can tell him to execute a script at on connect. what is interesting is that I could (with the previous version ...
0
votes
0answers
40 views

Figure out why OSX resolves a certain web extension locally

I'm running OSX 10.12.6 and I've added some packages using Homebrew including components to run a local LAMP stack. For some reason, when I attempt to visit https://archive.is, the .is extension ...
2
votes
1answer
138 views

Configure dnsmasq to selectively resolve domains using two DNS providers

I want to use two different DNS providers, a.com and b.com. I want a list of domains like google, youtube, superuser (and more) to be resolved with a.com. And I want all other domains to be resolved ...
0
votes
0answers
122 views

My ISP hijacks my traffic even if I am using secure DNS

Some times, when I enter a page in the first days of the month, I get redirected to a "Here's your bill page". I set up secure DNS but today it happened again. Is there a way I can avoid this? This ...
0
votes
1answer
121 views

iptables enables access to my personal website when I'm inside my LAN but blocks access when I'm outside

I am using a transparent proxy to forward requests from a source (client) to a destination (server). I use iptables to make the transparent bit work... i.e: it makes the clients ip appear at the ...
1
vote
1answer
480 views

DNS leak for non-existent domains when using OpenVPN on a Windows client

I have a Windows client connected to a Wi-Fi hotspot: Wireless LAN adapter Wireless Network Connection 2: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Atheros ...
0
votes
1answer
2k views

dnsmasq DHCP lease time is only 2 min

All DHCPOFFERs I get from dnsmasq have a IP lease time of 2min and it ignores the options to change it. More Details: I have two routers on my network: AVM FritzBox 7390 (192.168.0.1) VDSL2 Modem ...
0
votes
0answers
17 views

dnsmasq : answer a default IP if it couldn't be resolved

I have multiple virtual machines running on Qemu and connected to the internet. dnsmasq is launched on the host so it can be used : dnsmasq -h --interface=virbr1 --bind-dynamic --dhcp-range=192.168....
0
votes
2answers
1k views

why is local Name Resolution not working?

i currently trying to solve a problem within a heterogeneous network (linux servers with arch, windows clients). Current Situation: I got a nat gateway which runs dnsmasq as dns and dhcp server. It ...
0
votes
1answer
547 views

I want to run DNS server, but ports 53 and 5353 are blocked by ISP [closed]

I want to run DNS server, but ports 53 and 5353 are blocked by ISP. All other ports are open, but not 53 and 5353.
1
vote
1answer
1k views

Force dnsmasq to send router advertisement to specific interface

I have following setup: remote server that has a static IPv6 /64 local (for now) IPv4 only home network with a server IPv4 OpenVPN connection that tunnels the upper half of IPv6 /64 as /65 between ...
1
vote
0answers
254 views

OpenStack DNS query reply from unexpected source (wrong port)

I had some problem with the DNS queries. I setted security groups (now every traffic is allowed in theory). The DNS servers are 8.8.8.8 and 8.8.4.4, setted by subnetwork. When I start a DNS query ...
1
vote
1answer
466 views

Setup dnsmasq to resolve host name to local machine's IP

I'm running dnsmasq as a simple DNS for resolving myserver.local.example.com to the local IP address of the server where dnsmasq is running on. Everything else is forwarded to public DNS. Assuming ...
2
votes
1answer
1k views

How to setup dnsmasq on Ubuntu 18.04 to allow windows clients to find hosts without trailing dot

I've got dnsmasq setup on Ubuntu 18.04. Its working fine and everything seems to be going swimmingly. What I want is for all of the Windows hosts on my network that use the DNS server to be able to ...
1
vote
1answer
2k views

DNSMasq for multiple vlans with Ubuntu 18.04

Is it possible to setup one instance of dnsmasq to handle multiple vlans? I have 3 vlans 10.0.4.0/24 - guest wifi 10.0.10.0/24 - user network 10.0.50.0/24 - private mission critical network I want ...
0
votes
2answers
50 views

Prevent Wifi AP from Blocking 3g/4g Internet

I have an offline arm device that works in AP mode for configuring etc. The only issue is when a phone, for example, connects to the wifi AP the phones 4g internet connection is cut off. I suppose ...

1
2 3 4 5 6