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
1answer
27 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
38 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
41 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
0answers
21 views

How to use my media server also as a DNS server and have all LAN utilize it?

I have an Ubuntu 18.04 machine running that I primarily use as a media server. It uses various services on multiple ports. I'm trying to follow instructions on the web for setting up reverse-proxy ...
0
votes
1answer
22 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=/...
1
vote
1answer
88 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
119 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
50 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 ...
1
vote
0answers
96 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: ...
0
votes
0answers
24 views

how to start accidentally killed dnsmasq?

I forgot to add -HUP to kill dnsmasq and killed dnsmasq instead of restarting it. Now I cannot start it: # dnsmasq dnsmasq: failed to create listening socket for port 53: Address already in use ...
-1
votes
1answer
66 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
190 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 ...
0
votes
0answers
155 views

bind vs dnsmasq setup on ubuntu 18 server in a Small Business Office

Right now I have 1 static ip address and 3 linux machines. One of them is going to be a LXD container server for 4 different domain names. bind or dnsmasq or something better/simpler for ...
1
vote
0answers
69 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
724 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 ...
0
votes
0answers
314 views

dnsmasq ignoring nameserver

I'm building a private network not connected to the internet with VirtualBox for practice and i'm using dnsmasq on the server machine for both DHCP (and DHCPv6) and DNS service. The DHCP works fine ...
0
votes
0answers
115 views

dnsmasq not working for Bluetooth PAN interface

I have setup a Bluetooth PAN via Blueman's Local Services → Network I have confirmed that checking the NAP box and hitting apply causes dnsmasq to be spawned like so: /usr/sbin/dnsmasq --pid-file=/...
1
vote
1answer
301 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
143 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
94 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
873 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 ...
0
votes
1answer
870 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
582 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
109 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 -...
0
votes
0answers
33 views

dnsmasq.leases updating two IP address for same host when upgrade from version 2.57 to 2.7

I am facing issue while upgrading from version 2.57 to 2.78. The existing IP address is not assigned to host when upgraded and by the way, its allocating new IP address. Please let me know if there is ...
2
votes
0answers
100 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
66 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
49 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
582 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 ...
2
votes
3answers
3k 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 ...
1
vote
1answer
1k 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
2k 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
712 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
2k 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
985 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
928 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
225 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
vote
1answer
421 views

Dnsmasq does not resolve alias on Ubuntu 18 clients

Upgrading a few machines from Ubuntu 16.04 to 18.04 made me realize Ubuntu 18 cannot resolve the aliases I have configured in dnsmasq. /etc/dnsmasq.conf [...] # Include another lot of configuration ...
3
votes
1answer
10k views

Lost editing DNS config in Ubuntu 18.04

Objective For personal use, I need to add a custom server running on 127.0.0.1#5354 that resolves queries for .hyperboria domains. What I've done There used to be a file called /etc/resolv.conf ...
7
votes
0answers
10k views

dnsmasq : failed to create listening socket for port 53: Address already in use

I'm trying to configure dnsmasq to work along with NetworkManager, the problem is when I try to run the service it fails with: dnsmasq: failed to create listening socket for port 53: Address already ...
2
votes
0answers
186 views

Use a DNS server for a particular domain when on VPN

I want to use a particular domain name server for a given domain only when connected to the VPN. The rest of the lookups should be resolved by another domain name server, including that same domain if ...
1
vote
0answers
656 views

How to repair DNS resolution in Ubuntu 16.04

Recently, name resolution failed on Ubuntu 16.04, and I worked around the problem by adding "nameserver 127.0.0.1" to /etc/resolv.conf (which fixed the problem) I know I should not be manually ...
0
votes
0answers
3k views

dnsmasq: failed to create listening socket for port 53: Permission denied

can anyone help me with this error message I get when I start dnsmasq? I have read another thread on askubtuntu.com but I couldn solve the problem. I want dnsmasq to block certain domains... Ihanks!
0
votes
0answers
1k views

systemd-resolve applies wrong DNS entry

I'm trying to pinpoint the issues with my systemd DHCP/DNS resolution and settings. I'm running Kubuntu 18.04 LTS, I've got both wired (eno1) and wireless (wlp2s0) connection. In some networks (both ...
0
votes
1answer
264 views

Send all request for a TLD to one IP

I've been fighting this issue for a few days and I can't figure out what I am doing wrong. I am developing a sight that is going to use dynamic subdomains so I am trying to get all domains that end ...
0
votes
0answers
2k views

Dnsmasq trouble in BridgeBuilding Ubuntu 18.04

I'am trying to build a bridge for a VirtualBox. To do that I used this tutorial with a few exceptions because some of the tips not working for Ubuntu 18.04 All of exceptions was on the dns part ...
0
votes
1answer
995 views

DNSMasq resolving not working on Ubuntu 16.04

We installed DNSMasq for delivering ip addresses and tft bootinng. As the service dnsmasq is running , the resolving on the local ubuntu system is not working: root@dnsmasq001:~# ping joeri001 ping: ...
4
votes
0answers
962 views

How can I prevent DNS leakage when using a VPN in Ubuntu 18.04?

I recently installed Ubuntu 18.04. I want to ensure that my DNS requests use my VPN DNS rather than my ISP DNS. In 16.04, preventing DNS leakage was easy: just disable the dnsmasq entry in /etc/...
1
vote
1answer
1k views

Upgraded to 18.04 and it is incredibly slow [duplicate]

I'm running an i7 quad core with 16gb ram and an SSD. My proc maxes out at 100% routinely, and sometimes my ram goes into swap. This happens with Gnome or Unity. My laptop runs arch, and I'm ...
1
vote
0answers
352 views

Openvpn dns nameserver not getting configured

I'm using ubuntu 16.04 and I have setup an openvpn connection and a tun0 interface is being created. The vpn connects successfully. At first I could visit some of the URLs through the VPN and but the ...

1
2 3 4 5