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
0answers
4 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
115 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'...
1
vote
0answers
45 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
66 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
60 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
0answers
22 views

DnsMAsq and Samba

About dns-masq config on tomato or alike. I have two networks on the same router. IE: 192.168.1.1 (br0) and 192.168.2.1 (this last is is for guest only and linked with br1) This is my current custom ...
0
votes
1answer
166 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
0answers
19 views

Use Hyper-V VM-based dnsmasq instance to provide IP address to physical connection

Is there any way to use a Hyper-V VM on my Windows desktop to provide an address to a physical Fedora system that the host is physically connected to via an Ethernet cable? This is Windows 10 not ...
0
votes
1answer
19 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
0answers
75 views

Openvpn+dnsmasq : several subnetworks for several use

I've set up an openvpn server with my raspberry Pi. local network of this server is 192.168.1.0/24 and box is at 192.168.1.254, pi at 192.168.1.250 A dnsmasq server is present on this raspberry aswell ...
0
votes
1answer
116 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
34 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
20 views

dnsmasq to resolve to localhost if the query comes from localhost

I have a server that, besides running a forwarding cache DNS (dnsmasq), is hosting some apache2 virtualhosts. I would like these web services to get themselves resolved to localhost when they are ...
0
votes
0answers
583 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
706 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
44 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 ...
0
votes
1answer
68 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
87 views

Using DNSMASQ: Set up DHCP IP pool for two different VLANS

I have installed DnsMasq on my server and Also configured the switches with two different VLANs 34 and 35. So , a set of servers in VLAN 35 should get an Static IP in 10.x.x.x/24 subnet and servers in ...
0
votes
0answers
34 views

Running dnsmasq with runit

Here's my run script for dnsmasq: #!/bin/ash COMMAND="dnsmasq -k -C /etc/dnsmasq.conf" DIR="$( cd "$( dirname -- "$0" )" >/dev/null 2>&1 && pwd )" SERVICE_NAME=$(basename ${DIR}) ...
0
votes
0answers
99 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
0answers
79 views

Ask. DHCP relay with DNSmasq DEBIAN

enter image description here i got error failed to create listening socket for port 53: Address already use when run #dnsmasq --dhcp-relay=10.2.3.254,10.2.2.10 i use dnsmasq for dhcp relay
0
votes
1answer
98 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
314 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
662 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
15 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
662 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
308 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
618 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 ...
0
votes
0answers
84 views

Attempting to forward domains to internal IPs using dnsmasq, but settings are not being respected

I installed Raspbian on my Raspberry Pi, then installed pi hole. Then I pointed my router's DNS setting at the Pi. The Pi has a static IP. I want to set up some custom redirects for computers on my ...
1
vote
0answers
175 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
281 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
857 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 ...
0
votes
1answer
981 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
45 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
vote
0answers
48 views

Changing DNS does not “take effect”

I've been trying to troubleshoot this for the past 2 days, I've tried so many things and I'm just tired and need help now. First, a short description of my whole network: I get service from 2 ...
2
votes
1answer
622 views

Block internal IP adresses with dnsmasq.conf

One can do something like this in the conf file to block wan sites: address=/verystrangesite.com/127.0.0.1 So if user tries to try something not-so-funny on my guest lan he gets ...
1
vote
0answers
634 views

Configure dnsmasq as IPv6 nameserver but let router do routing (and maybe IP address assignment)

Suggestions welcome! I'm moving DHCP and DNS services from a combined router (192.168.0.1) to a separate system (running on 192.168.0.2) with dnsmasq. I want the first system to be the default route ...
1
vote
0answers
94 views

Unexpected DNS queries

I see lots of DNS queries in my dnsserver (dnsmasq) query[A] cdn.switchadhub.com from xxx query[A] delivery.g.switchadhub.com from xxx query[A] delivery.swid.switchadhub.com from xxx What are ...
2
votes
0answers
1k views

Nameserver 127.0.0.53 unable to resolve domain names

I know there is an easy fix to the problem by adding nameserver 8.8.8.8 to /etc/resolve.conf but this is merely a hack and not a proper trouble shoot of the problem that caused the problem. If I am ...
0
votes
0answers
779 views

Linux Router DHCP6 with Prefix Delegation

currently I have a DHCP server running at Linux machine using Dnsmasq with the next configuration(/etc/dnsmasq.config): port 0 no-resolv interface=enp0s3 dhcp-range=set:ula6,fd7a:d:e:f::2, fd7a:d:e:f:...
0
votes
1answer
469 views

Asus RT-AC58U DNS point all .lan domains to local machine

I have an Asus RT-AC58U and am setting up a development server on my local network. I would like to point all .lan domains to this local server via the router as I want to avoid editing host files on ...
1
vote
1answer
49 views

Router doesn't provide/forward DNS server infos running on other machine on the network

I'm trying to achieve the following GOAL But cannot get to reach my web app via the additional router the same way I can from the raspi onboard WIFI chip Access point. Raspbian Stretch 9.4 dnsmasq -...
1
vote
1answer
197 views

Can I have per-network DNS servers with DNSMasq?

I'm using DNSMasq. For some wifi networks I need to have different DNS servers. By default I have the Quad9 DNS addresses. But when I connect to my university network (eduroam) I have to use their ...
2
votes
0answers
2k views

dnsmasq is providing the same IP to two different clients

Consider the following dnsmasq config (used for a VPN server which is on a tap interface tap_vpn0): dhcp-ignore-names dhcp-generate-names dhcp-sequential-ip interface=tap_vpn0 dhcp-range=192.168.120....
0
votes
0answers
88 views

Proper DNS resolution order in resolve.conf

If I’m running something like NordVPN and force the order of DNS resolvers to be the IP of my gateway followed by the DNS of the VPN, will pi-hole still function as intended (technically , Dnsmasq). ...
0
votes
0answers
305 views

Can isc-dhcp-server and dnsmasq coexist?

After two days of trying to configure dhcp on dnsmasq and failing, I'd like to go back to isc-dhcp-server, and only keep dnsmasq for dns. Can the two coexist well? is there anything I need to pay ...
0
votes
1answer
212 views

Detecting local DNS server, under Linux

I want to disable my router's DNS service, and use my own dnsmasq server on local LAN as a DNS caching server, for all other machines, would it be possible? I.e., is there any mechanism for all other ...
3
votes
1answer
1k views

Local hostname not working without the trailing dot

I noticed all my local hostnames have a trailing dot at the end when I use some LAN scan tool on my Android phone. And without it, I can't get a ping to work from my Windows desktop (it works fine ...
0
votes
1answer
28 views

Puppet beaker docker acceptance dnsmasq

I am trying to migrate code from puppet 3 to puppet 5 with beaker and acceptance tests. The following output is given: journalctl log for dnsmasq: -- Logs begin at Thu 2018-11-29 17:11:40 ...

1
2 3 4 5