Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
22 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
13 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
13 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
23 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
26 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 ...
1
vote
0answers
653 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
7 views

lxd init address already used

I try to set up my CI/CD gitlab flow with lxd and kubernetes folowing these steps : https://docs.conjure-up.io/stable/en/user-manual#users-of-lxd But when I try to init Lxd (sudo lxd init), I can't ...
0
votes
0answers
32 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
19 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
57 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 ...
2
votes
1answer
179 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
0answers
24 views

Prevent DNSMasq from forwarding host names to external DNS

I have configured DNSMasq to serve as the DNS for my local network. However, I have also connected some of my client machines to a VPN. When trying to resolve hostnames across the VPN, an external DNS ...
0
votes
1answer
16 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 ...
0
votes
1answer
79 views

Initializing DNS in dnsmasq before leases assigned

I am in the process of transferring DHCP/DNS services for my LAN from a system running wheezy to a system running stretch. Both DHCP and DNS are provided by dnsmasq. What I'm seeing, at least with ...
1
vote
1answer
245 views

Setting up a srv record with dnsmasq - do I need to use a FQDN?

I'm currently running a linux based/DIY router that provides a few additional services. I don't currently have a domain set up, and I'd like to set up a srv record for certain services hosted on the ...
1
vote
1answer
120 views

dnsmasq DNS resolution issues

Pulling my hair for days here setting up DNS and DHCP with dnsmasq and the new way of doing things with netplan. WAN-router is on 192.168.0.1 - works fine LAN-router (Ubuntu 18.04) received 192.168....
0
votes
0answers
449 views

Configuring Raspberry Pi as DHCP/local DNS server, Stretch vs Wheezy

I've been using dnsmasq as a DHCP server/resolver on an old Raspberry Pi, running wheezy, for years without any problems. I decided to upgrade to stretch and, at the same time, to a Raspberry Pi 3B+. ...
0
votes
0answers
116 views

DNSMasq forgets force-domain IP addresses

I've been using DNSmasq for several years without issue. After changing from a DSL modem with a static IP to a cable modem with dynamic IP (XFinitiy), a problem showed up. I've been using DNSMASQ as ...
0
votes
1answer
301 views

Get DNSmasq to redirect local network requests to server on network

I have a server on my network. Accessing it from devices outside the network by domain name works perfectly. Some devices though, like my phone, connect to the network by wifi, and when they do, they ...
1
vote
1answer
267 views

DNS server for home network without using resolv.conf, google dns, nor transfers

I have tried using bind9 and dnsmasq. I also set the server machine to have a static ip address. The OS is Ubuntu 18.04. I want to access the domain on Windows 7 and 10 machines. I have tested, and my ...
1
vote
0answers
213 views

Can I configure dnsmasq to use /etc/hosts to resolve the target of a CNAME?

Is there any way to configure dnsmasq so that when it receives a CNAME record, if the target is in /etc/hosts, it overrides whatever else the public DNS server says about that target and uses /etc/...
0
votes
1answer
150 views

DNS over VPN service

I have OpenVPN server with few devices connected in (web server, Raspberry Pi, netbook and phones). I want to create DNS over VPN (custom .vpn domain). I have done it with dnsmasq and address ...
1
vote
1answer
308 views

Dnsmasq broken after upgrade to Bionic: works, but takes ~30 seconds to resolve any query

my dnsmasq configuration got broken after upgrading to Ubuntu 18.04 from 16.04. systemd-resolved is enabled and running dnsmasq is enabled and running Any DNS query to the outside world will hang ...
0
votes
1answer
106 views

DNSMasq responds randomly

I have just installed DNSMasq on a local device (Raspberry Pi) to use as a DNS server but the service is not always working correctly when other computers in the network try to use it. This is what I ...
0
votes
1answer
39 views

DNS mask over LAN to redirect domain to local ip

I am trying to setup a DNS MASK to route over LAN like this: client requests https//example.com:4430 to be routed to server https://192.168.1.80:443 DNS mask is running on the server I point my ...
0
votes
0answers
61 views

DNSmasq dd-wrt with FQDN

I'm trying to set up a few computers on my home network to be accessible from outside by their FQDN. Currently, all subdomains point to my home's external IP. I have Local DNS enabled in dd-wrt ...
0
votes
0answers
713 views

Ubuntu 18.04 with dnsmasq causing dns leaks

This problem is making me tear out my hair, as I simply cannot believe dnsmasq can work in this fashion by default. It is absolutely preposterous ok so dnsmasq is installed 2.79-1 And server is ...
0
votes
0answers
253 views

Systemd-Resolve blocking Dnsmasq

I use dnsmasq to block certain websites, mostly ad networks. I edited /etc/dnsmasq.conf to block the websites. I then rebooted my computer, and noticed that dnsmasq was not working-- I could still ...
1
vote
0answers
780 views

DNS broken after upgrade to Bionic Beaver

I just upgraded my Ubuntu box to Ubuntu 18.04 (Bionic Beaver), and my DNS stopped working. The one "funny" thing about this box is that I want it to run dnsmasq instead of systemd-resolved, because I'...
0
votes
1answer
733 views

Enable DNS Hostname resolution with OpenVPN and DNSMasq

I have configured OpenVPN as a server to host my own VPN and I want use DNSMasq to resolve hostnames on the VPN. Say I have the OpenVPN server, two computers on the internal network, and one outside, ...
1
vote
1answer
670 views

is there any Public DNS Server (except openDNS) that have port open other than 53? [closed]

My ISP block a lot of stuff and it's pain in the ass to setup DNSCrypt (and not possible on some devices like android without rooting) on every devices. So, i decided to migrate my router firmware to ...
0
votes
0answers
73 views

Name resolution for subnet with systemd-resolv or dnsmasq

I have created myself a virtual subnet using tap & bridge interfaces. On top of that subnet I installed dnsmasq which serves as DHCP server. All running on Ubuntu 17.10 server. My relevant ...
8
votes
3answers
14k views

Ubuntu 18.04: Disable dnsmasq-base and enable full dnsmasq

I just installed Ubuntu 18.04, and after i configured my web server i wanted to also replace the base dnsmasq since i needed support for wildcards. After I installed dnsmasq using this quide, the ...
0
votes
0answers
36 views

Raspberry Pi dnsmasq performance

I want to block ads in my whole network with dnsmasq running on a Raspberry Pi, connected via Ethernet to the router. Is there any reason to take a RPi3? Or is a RPi2 also sufficient for that task? ...
0
votes
0answers
318 views

dns failover for internal/LAN domain-names

I would like to switch to cloudfare's 1.1.1.1 nameserver for a number of reasons. However, when my machine is on my company's network, i need to resolve some 'internal' domain names (foo.company.com, ...
0
votes
0answers
187 views

Use dnsmasq as a DNS server for external requests

Most of the articles on the internet are focused on spoofing DNS requests using dnsmasq for an internal network. Is there a way to setup a VPS with dnsmasq running so that I can use it externally? ...
0
votes
1answer
64 views

Do not understand some commands used to setup an access point on Linux

I finally managed to setup an access point on my WiFi card using hostapd and dnsmasq. I did it in this order: 1) Configure hostapd and dnsmasq: nano /etc/hostapd/hostapd.conf nano /etc/dnsmasq.conf ...
0
votes
0answers
67 views

redirecting DNS clients to my website

Hello everybody (and sorry for my English) Here is the current configuration of my home network : WAN | LAN----------->Firewall(DHCP + DNS forwarding +3 vlans)&...
0
votes
0answers
28 views

Automatic DNS resolution of my laptop hostname to it's private IP

I have a laptop configured with hostname (i.e. mycomputer.mynetwork) I would like this hostname to resolve to the private IP of this laptop. Not 127.0.0.1, I would it to resolve to the private IP the ...
0
votes
0answers
93 views

Unable to ping locally with iptables masquerade wifi repeater

Okay so my network setup is as follows: I have a router that connects to the internet. Said router is 192.168.1.254. My device has 2 wifi adapters. Wlan0 is 192.168.1.99/24 static. (Dhcpcd) Wlan1 is ...
2
votes
1answer
160 views

Why is dnsmasq forwarding already resolved addresses?

I can ping the host: dig registry.mynet And the DNS server does what is expected: dnsmasq[1]: 895 127.0.0.1/44580 query[A] registry.mynet from 127.0.0.1 dnsmasq[1]: 895 127.0.0.1/44580 /etc/hosts ...
0
votes
1answer
621 views

dnsmasq: forward local domain when not on dhcp

I have a dnsmasq server running on my router, which handles both dhcp and dns (caching, forwarding). I configured my local domain: domain=example.com. I can resolve local dhcp hostnames: dig +short ...
5
votes
1answer
3k views

Tell docker to use the DNS server in the host system

I have dnsmasq running in the host, and I want the docker containers to use that, instead of the default Google servers (8.8.8.8) My host /etc/resolv.conf looks as follows: » cat /etc/resolv.conf # ...
0
votes
0answers
67 views

Rewrite domain in resolve query

I've got very old environments with same AD domain names Environment A domain.com Environment B domain.com etc. For clients completely impossible to resolve something. Can someone suggest how to ...
1
vote
2answers
84 views

How to map sub domain to internal IP adress

I'd like to reach some internal services like the web client of my NAS (Synology DSM) through dedicated sub domains like https://nas.example.com. The services are fully running and accessible via ...
0
votes
0answers
589 views

DNSMasq Wildcard Round-Robin DNS

Hello can you guys help me too. I'm trying to achieve something here but I'm not sure if what I'm trying to do is even possible with DNSMasq or not so I need you guys help. I need to assign ...
1
vote
1answer
344 views

How to use dnsmasq address directive while having different nameservers for each lan interface

I have always used dnsmasq to point a subdomain to my local dev machine at the router/network level. address=/dev.example.com/192.168.1.80 I have now setup two vlan interfaces for other purposes (i....
0
votes
1answer
574 views

DnsMasq and OpenDNS as parental control

I'm trying to configure a Rasperry Pi to serve as Home DNS-Server and DHCP server using dnsmasq. Now all devices in the network (about 20) uses this DHCP and DNS server, and they get fix IPs and can ...
0
votes
1answer
199 views

local web development not working on OSX

I have DNSmasq setup properly to point any *.dev domains to localhost. My apache vhosts are all configured to the appropriate folders yet I am not getting any response from the local sites. I have ...
1
vote
1answer
381 views

'dnsmasq' : Can't ping client by name

This is intriguing. I would love to know what is going on. On my DNS I have two definitions that fix the name and IP-address on a given MAC: dhcp-host=08:02:8E:93:12:73,192.168.178.10,switch0 dhcp-...