Questions tagged [dnsmasq]

DNSmasq is a lightweight DNS forwarder, DHCP and TFTP server, designed to provide DNS (and optionally DHCP and TFTP) services to a small-scale network.

Filter by
Sorted by
Tagged with
0
votes
2answers
232 views

Random DNS resolution outages, no idea what to try next. (20.04.02)

For the past 3 months, I have been struggling with a random issue on my homeserver where DNS resolution drops for a brief period of time (10-60 seconds) for absolutely no reason. Pinging via hostname ...
0
votes
1answer
38 views

LXC dnsmasq port 53 in use but I would like to map to container

I am trying to have an authoritative only Bind server inside a LXC container but when I went to forward the port 53 to it, I received an error saying the port is already in use. (listen=tcp:0.0.0.0:53 ...
0
votes
0answers
30 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 ...
0
votes
0answers
28 views

dnsmsasq v2.80 in ubuntu 20.4 faulty?

I have ubuntu 20.4, too. I had issues with dnsmasq 2.80-1.1ubuntu1.3 today, too :-( Today 2021-02-25, it happened, that dnsmasq caught 99% of CPU time (looking on top output), heating up the CPU (...
0
votes
1answer
102 views

Clear dnsmasq cache without restarting the service

I have cache enabled in my dnsmasq, because it is fast. In some situations (for example, with VPN off), dnsmasq caches wrong results. I want a quick way to clean the cache (when I connect to the VPN ...
0
votes
0answers
41 views

How to add _gateway resolution to Unbound/DNSMasq

In Debian 10 Buster/Ubuntu Server 20.04 LTS, systemd-resolved has a feature where it automatically resolves the default route's IP to _gateway. However, I need Unbound or DNSMasqd to run and takeover ...
0
votes
0answers
147 views

Dnsmasq unable to access log file

I'm very new to Linux, Ubuntu and this forum. I am using Ubuntu 20.04 in a VM as a wireless access point and I'm having a problem which is best explained with code: john@HomeDT:~$ sudo service dnsmasq ...
1
vote
3answers
517 views

How to get the latest dnsmasq version?

I'd like to update to the latest version of dnsmasq (2.83). I used sudo apt update followed by sudo apt upgrade in an attempt to update the software and libraries installed on the machine. I then ...
0
votes
0answers
51 views

what's the real DNS server used by my system

First of all, my embedded system is running Ubuntu 18.04 and I'm not using NetworkManager to manage my connections (instead I'm using /etc/network/intefaces). I have already looked at similar ...
1
vote
0answers
351 views

Failed to configure NetworkManager to use dnsmasq

I am using openconnect to connect to vpn and vpn-slice for vpn splitting. openconnect modifies /etc/resolv.conf after start, but that doesn't help with vpn domain names resolving. To work around that, ...
1
vote
0answers
47 views

Configuring ubuntu as router

I have a device which sends meter data to its maker site, using the MQTT protocol. I intend to capture this information, routing it to my ubuntu PC, where I have setup a docker container with RabbitMQ ...
1
vote
0answers
211 views

How do I set up dnsmasq for loopback to a local machine?

I recently changed my ISP and discovered a few days ago that I can't access from other computers or gadgets connected to the same home network, a domain I'm self-hosting (linked via a DDNS provider) ...
0
votes
0answers
62 views

How to resolve single-name (no dot) domain names with upstream DNS server?

I am using dnsmasq as the DNS repeater on my network, and it has the ability to answer domain name queries for entries in that machine's hosts file. This gives me a convenient way to propagate a ...
0
votes
2answers
585 views

dnsmasq cannot start after Ubuntu update

I had Ubuntu 16.04 which I recently upgraded to 18.04. On 16.04 I had dnsmasq with running configuration in parallel with bind. After upgrade, I am not able to start dnsmasq due to following error: ...
0
votes
0answers
34 views

Error : Host <VM Name> not found: 3(NXDOMAIN)

Error : Host not found: 3(NXDOMAIN) cat /etc/os-release NAME="Ubuntu" VERSION="16.04.6 LTS (Xenial Xerus)" VM Created in Azure Cloud We have created the 2 Test Environment VM from ...
0
votes
2answers
250 views

Trying to resolve .local to 127.0.0.1 using dnsmasq and Network Manager

I am on ubuntu 20.04 and I am trying to develop php projects locally. What I want is to be able to mass virtual host local projects and when I create a project and add the .local to the project name, ...
0
votes
0answers
19 views

use dnsmasq server from another instance

I am trying to figure out something, but I am not sure if the concept is right at all. here is my case: I have dnsmasq server on my instance (INSTANCE_1) which is in a private subnet in AWS cloud. /...
0
votes
0answers
391 views

MULTIPASS yields dnsmasq error at launch. What can I do?

I just installed Multipass (Canonical's virtual machine manager) on Ubuntu Budgie 20.04. When I run the Multipass launch command, I get: [error] [dnsmasq] Process operation timed out launch failed: ...
0
votes
0answers
171 views

DHCP server + Wifi access point + bridge

I have an Ubuntu machine connected to an ethernet network of several devices. I want the Ubuntu machine to provide DHCP for the wired network, while also providing a wireless access point which ...
0
votes
1answer
97 views

Ubuntu 18.04 missing dnsmasq service after install

I just deployed fresh Ubuntu 18.04 on Azure. Installed dnsmasq and noticed that it is missing service files completely. Daemon itself runs fine but I would like it to start on boot. How could I ...
0
votes
0answers
90 views

How to enable probe request processing and sending response on Hostapd

I am able to create an access point using Hostapd and Dnsmasq, but in addition to this i want Dot11ProbeReq layer to be processed by the same access point and to send Dot11ProbeResp for the same, ...
0
votes
0answers
451 views

dnsmasq dhcp. No errors… but not working. What's wrong?

Ubuntu 18.04 installed docker jpillora/dnsmasq With default config, there's no DHCP so I grabbed the example config file from dnsmasq proper and these are the options I'm using: domain-needed bogus-...
0
votes
1answer
146 views

create_ap systemctl service failing

I setup config for create_ap $ cat /etc/create_ap.conf CHANNEL=default GATEWAY=192.168.1.1 WPA_VERSION=2 ETC_HOSTS=0 DHCP_DNS=gateway NO_DNS=0 NO_DNSMASQ=0 HIDDEN=0 MAC_FILTER=0 MAC_FILTER_ACCEPT=/...
2
votes
1answer
3k views

Configure reverse DNS using Dnsmasq

So I have my DNS by dnsmasq up and running. I can resolve my internal domain name but I cannot resolve the IP to my domain. What I mean to say is I can use dig rameez-ubuntu and it works fine but ...
1
vote
0answers
949 views

Split VPN in WSL (Windows Subsystem for Linux)

So I need to work on a Ruby web application that consumes both public and private services, so part of the services' urls point to the internet, and part of it points to services only available on the ...
1
vote
2answers
62 views

Running this bash script ONCE causes a “System program problem detected” on EVERY reboot

I'm trying to create a script which, when run, will set up a WiFi network over which two or more devices can communicate. If I run the current version of this script once, it causes that device to ...
2
votes
0answers
443 views

dnsmasq configuration problem

Morning. Trying to setup dnsmasq on my little network, and having some trouble. Running dig cnn.com ; <<>> DiG 9.11.5-P4-5.1ubuntu2.1-Ubuntu <<>> cnn.com ;; global options: ...
-1
votes
1answer
322 views

Connect to multiple dnsmasq servers at a time

I have two dnsmasq servers setup in my network. I added the dns-servers into the my network configurations but i am only able to connect to one of them at a time. When i include the two of them in ...
0
votes
1answer
469 views

No Internet Connection Following CodeReady Containers VM Setup

I'm running Ubuntu 18.04 LTS and am having trouble connecting to the internet. Network Manager indicates I'm connected to my wireless router, but there is a '?' symbol where the wifi symbol should be ...
1
vote
0answers
153 views

dnsmasq with unplugged ethernet port

How do I get dnsmasq to bind to an ethernet port that is not plugged in? The environment is such that the server is working in the capacity of a router. A workstation will be plugged into this ...
1
vote
1answer
1k views

how to set up dnsmasq wildcard to 127.0.0.1 on Ubuntu 19.10?

closely related to How can I set up local wildcard (127.0.0.1) domain resolution on 18.04? . here is what I have done, following the earlier 18.04 instructions on 19.10: Installed dnsmasq apt ...
1
vote
1answer
654 views

Adding hosts to hostfile breaks DNS in 18.04 but didn't in 16.04

EDIT I managed to find out what I was missing that made it clear how to fix my problem. Turns out that between 16.04 and 18.04, Ubuntu and derivatives switched from something dnsmasq based to ...
0
votes
1answer
466 views

How to see the address dnsmasq is listening to without netstat

I used to run sudo netstat -tulpen | grep dnsmasq, but netstat is outdated. This answer says to use ss as an alternative, but I cannot get the desired output. I.e. ss -ltu | grep dnsmasq does not ...
0
votes
0answers
109 views

How to NetworkManager, resolvconf, and dsnmasq work together?

Running Kubuntu 16.04 Sometimes the name resolution gets slow. In previous Ubuntu versions, the problem was usually in resolv.conf and was easy to fix. In 16.04 all the DNS resolution is hidden in a ...
2
votes
0answers
2k views

DNSMasq unknown interface wifi0 - failed to start

Introduction I am trying to use my Ubuntu Core-RaspberryPi as a Wifi Access point. Therefore, I am using hostapd and dnsmasq. I followed this tutorial in order to setup everything. I start them ...
1
vote
1answer
2k views

How to stop continuous concurrent local DNS queries to dnsmasq

I set up a DNS server using dnsmasq, but it seems that it doesn't work properly. The networking delay is up to hundreds of millisecs. PING [server] ([server]) 56(84) bytes of data. 64 bytes from [...
0
votes
0answers
1k views

DNSMasq forwarding doesn't work!

I want only one DNS for all my local network, when this DNS doesn't know a domain name I want that it ask to router DNS(192.168.1.1) or Google(8.8.8.8 and 8.8.4.4). I installed and configured DNSMASQ,...
1
vote
1answer
173 views

Failure to forward DNS requests with dnsmasq to a jump server

My goal is to forward DNS requests for certain work-related hosts to a jump server, which is able to resolve those requests. I mapped port 53 on the jump server with 5353 locally as following: ssh -...
2
votes
0answers
167 views

dnsmasq + systemd-resolved high cpu

I'm using DNSMasq only for DNS caching, other DNS queries should go to the original DNS configured in systemd-resolved (if I understand the flow correctly). All the solutions to this issue are saying ...
0
votes
1answer
74 views

Do I need DNS Server?

I use internet (personal connection from ISP). My operating System is Ubuntu 18.4. I am aware of /etc/hosts file, but it has limitation with wild card entries (to block websites). I wanted to know if ...
0
votes
0answers
81 views

SSH stop working when connecting ethernet cable

I greatly appreciate your help to show me what is going on with my network. The situation is like this: I have a LiDAR sensor that streams UDP data over ethernet cable. The LiDAR has a DHCP server ...
2
votes
2answers
1k views

systemd starts dnsmasq before starting network manager?

Looks to me that my systemd starts dnsmasq before starting network manager. How can I confirm this? How can I force systemd starts dnsmasq after starting network manager? Reason behind this is, as ...
3
votes
3answers
4k views

Use dnsmasq as system DNS service

Following How to disable systemd-resolved and resolve DNS with dnsmasq? However, I followed it as much as I could, but still wasn't able to properly replace systemd-resolved with dnsmasq -- If i put ...
2
votes
1answer
2k views

Difference between Dnsmasq and Dnsmasq-base [closed]

I want to set up a DNS and DHCP server to bypass the loopback restriction of my internet provider. I wanted to install Dnsmasq but can't install It because of conflicts with Dnsmasq-base. So my ...
0
votes
0answers
4k views

Can't run Dnsmasq via command line

I am unable to install Dnsmasq via command line, this error is shown : Package dnsmasq is not available, but is referred to by another package. This may mean that the package is missing, has been ...
1
vote
1answer
1k views

How can I use netplan for DNS domains?

I am wondering if I actually need dnsmasq or Bind to apply the following simple DNS server rule: Forward DNS lookups for *.mydomain.com to 10.0.0.2; Forward DNS lookups for anything else to 8.8.8.8 ...
2
votes
1answer
5k views

NetworkManager writing to resolv.conf every reboot, breaking dnsmasq?

I am on Ubuntu 18.04 using the netplan configuration which renders using NetworkManager: # Let NetworkManager manage all devices on this system network: version: 2 renderer: NetworkManager Every ...
5
votes
1answer
2k views

How do I change the order in which systemd services are started up

Ubuntu 18.04 server on my home network I'm running: dnsmasq for DHCP and DNS nginx as a reverse proxy to some web applications (running on localhost and on other hosts) The nginx reverse proxy ...
0
votes
1answer
1k views

home server DNS with dnsmasq

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 is on 192.168.1.1 - DHCP works ...
1
vote
1answer
361 views

Using dnsmasq broke dig and more

I am trying to set up dnsmasq as an address resolver on an Ubuntu 18.10. So far I disabled systemd-resolved as the default resolver and brought dnsmasq in. Running netstat -tulpn shows the following: ...

1
2 3 4 5