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.

learn more… | top users | synonyms

1
vote
3answers
164 views

DNS not working after upgrade from 12.04 to 14.04

I've recently upgraded my desktop from 12.04 to 14.04 and now my internet connection isn't working. I can access my router. I can go to Google by entering its IP address. My resolv.conf file: ...
2
votes
2answers
744 views

Why does Ubuntu spends so much time setting the network at startup?

Booting got very slow about the time I began testing Ubuntu 12.10 quantal. I think networking is one of the causes. I suspect networking is doing a lot of work that is unnecessary (since it was very ...
1
vote
2answers
652 views

how to setup split-dns for vpn with network-manager

I want to create a split-DNS config on a 14.04 desktop machine with both a local eth network and a VPN connection. Ie I should send DNS lookups for address ranges that are accessed via the vpn to the ...
1
vote
2answers
3k views

On Ubuntu 12.04.2, what happens if I disable dnsmasq?

I am using Ubuntu 12.04.2 LTS. If I issue the following command sudo gedit /etc/NetworkManager/NetworkManager.conf and change the line dns=dnsmasq to #dns=dnsmasq What will happen? Will I ...
0
votes
2answers
1k views

avoid DNSMASQ making changes in resolv.conf

not able to find a workaround for the dnsmasq to not make changes in /etc/resolv.conf file. editing the init.d/dnsmasq file is not a full option as not on all ubuntu version dnsmasq runs through ...
2
votes
1answer
481 views

Assistance with Apache Wildcard catchall

OS: Ubuntu 13.10 I followed this article Setting up a wildcard Apache virtual host + a wildcard DNS to set up a wildcard virtual host so I don't need to hack hosts files etc every time I set up a new ...
2
votes
1answer
828 views

DSL through pppoeconf works but through Network Manager stops some sites from loading in browsers?

I am having Ubuntu 12.04. DSL through pppoeconf(connecting at boot time) works without any problem but connecting through Network Manager stops some sites from (fully)loading in browsers ? Disabling ...
2
votes
1answer
843 views

Do I need dnsmasq?

When I nmap localhost get this: 53/tcp open domain dnsmasq 2.59 What is it and do I really need it? I tried to remove it with sudo apt-get remove dnsmasq-base but it said if I would continue it ...
1
vote
1answer
105 views

Resolve domain names in QEMU VDE setup

I have re-built QEMU with VDE support. For the uninitiated, VDE attaches a virtual switch program (vde_switch) to a TAP device which allows multiple VDE-enabled programs to utilize a single TAP ...
1
vote
1answer
355 views

dnsmasq less verbose?

Is it possible to make dnsmasq less verbose? I couldn't find any hints in the manual page / the internet. The only options I have found are already uncommented: # For debugging purposes, log each ...
1
vote
1answer
1k views

Local DNS server 127.0.1.1 fails often

This problem happens only at my workplace and only with my laptop, not my colleagues'. The problem is that DNS resolutions fail often. Sites won't open, git pushes won't execute, and i have to ...
1
vote
1answer
243 views

dnsmasq works in terminal, but not applications in Ubuntu 12.04

I am attempting in effect to add Server=/example.com/11.22.33.44 to the configuration of dnsmasq in order to route queries for example.com to a specific nameserver. To implement this I did the ...
1
vote
1answer
2k views

12.04 VPN/resolv.conf issues

According to http://www.stgraber.org/2012/02/24/dns-in-ubuntu-12-04/ resolv.conf contains only a single record for local dnsmasq server When I connect to OpenVPN server using network-manager-openvpn ...
1
vote
1answer
870 views

resolv.conf auto reset by dnsmasq after install libvirt-bin

After I install libvirt-bin and ubuntu-virt-server, etc., my resolv.conf gets overwritten by dnsmasq about every hour. I haven't installed network-manager and resolvconf. When I search for dnsmasq I ...
0
votes
1answer
43 views

dnsmasq not starting on 16.04

I just upgraded an RPi configured as a wireless router to from 15.10 to 16.04. dnsmasq is failing during startup with an unknown interface br0. Before the upgrade, the log showed a wait for auto ...
0
votes
1answer
24 views

Problems connecting to hosts in local network on 15.10

I've recently done a fresh install of Ubuntu 15.10 and I'm experiencing problems accessing hosts on my local network. Just an example: host printer.mydomain.local works perfectly, returns the ...
0
votes
1answer
27 views

dnsmasq doesn't check dnssec

I'm on Ubuntu 14.04.2 LTS. NetworkManager starts dnsmasq with --proxy-dnssec option. However: $ dig @127.0.1.1 dnssec-failed.org ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: ...
0
votes
1answer
93 views

You don't have permission to access / on this server

I have a strange problem with my web server throwing the above error from a local machine on my network. If I access the remote server through its ip address, 192.168.0.2, I get the default index.html ...
0
votes
1answer
113 views

How do I prevent domains from resolving to a specific address?

When I misspell a domain name, the DNS servers of my ISP provider resolve the domain name to an IP address of a web server that tells you "we're sorry, the address you typed does not exist" together ...
0
votes
1answer
99 views

Ubuntu Clients Ignore DNS Server on local network

I currently have a dnsmasq DNS server running on my desktop Ubuntu 15.04 installation. I use it to point to local devices on my network. For example, I have a record linking kerberos.dgourd.com to ...
0
votes
1answer
55 views

Why is a nameserver address not removed from resolv.conf when disconnecting from my work network?

Using networkmanager and dnsmasq. When I'm at work I have a wifi connection that is statically configured with IP, dns server, and domain search. When I connect, resolv.conf has both the server and ...
0
votes
1answer
194 views

LXC starts up, but the networking is not set up - what is preventing this?

On Ubuntu 14.04 Trusty, I had LXC running, but recently I upgraded from 1.0.7 to 1.1.2 (as per the instructions here: https://launchpad.net/~ubuntu-lxc/+archive/ubuntu/stable). However, I found that I ...
0
votes
1answer
499 views

dnsmasq starting before eth0 is ready and therefore not binding

I have setup dnsmasq on ubuntu 14.04. The dnsmasq part works fine. However on boot, dnsmasq runs BEFORE eth0 is up. This causes dnsmasq to not respond to queries on eth0. In syslog I can see dnsmasq ...
0
votes
1answer
360 views

Is dnsmasq preventing internet?

On my computer I have dual boot Win 7 and Xubuntu 14.04 64-bit. Tonight I switched over to Xubuntu to work on something. When I fired up Firefox it acted like I didn't have an internet connection. ...
0
votes
1answer
148 views

How can I have a network connection after uninstalling network manager?

I removed dnsmasq-base with sudo apt-get remove dnsmasq-base then I tried to install sudo apt-get install dnsmasq After executing the first command network manager is disabled and I am not more ...
0
votes
1answer
580 views

dnsmasq not running

i installed ubuntu 12.04 on a netbook with 16GB SSD. To keep the installation small i used the mini.iso i got from here. Everything worked fine, but i noticed that dnsmasq does not get started by ...
3
votes
0answers
302 views

cat: /var/lib/misc/dnsmasq.leases: No such file or directory

I've searched all over the internet, but couldn't find any answers of my problem.. I want to connect my Raspberry Pi to my laptop. But whenever i try to check the ip address of my raspberry, i get ...
2
votes
0answers
601 views

Both named and dnsmasq serving DNS on port 53?

Is this considered normal for Ubuntu 14.04 ? netstat -tulpn shows that both bind9 (named) and dnsmasq serve on port 53: Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address ...
2
votes
0answers
712 views

Hostapd serves all webpages to Windows 7 client, not so XP or Android

I have installed hostapd and dnsmasq in a laptop running Linux Mint 15, as a wireless relay: Incoming from remote wifi router is through wlan0, pcmcia wifi card serving client machines is wlan1. This ...
2
votes
0answers
3k views

Android device unable to obtain ip address connecting to AP created with Hostapd

I have a wired internet connection that works behind an authenticated proxy server. I followed the steps mentioned here and managed to create a hotspot which my google nexus 7 detects. However, it ...
1
vote
0answers
65 views

dnsmasq cannot create listening socket for PXE boot

I'm trying to set up a LTSP server so I can have thin clients all around our office, but for the time being, after following this tutorial, whenever I try to run: sudo service dnsmaq start or ...
1
vote
0answers
109 views

Using Ubuntu Server machine as a DHCP and DNS server to forward URL's to IP addresses

I'm inexperienced with Linux servers but I've done okay so far - basically I want this machine to dish out IP addresses via DHCP (done) and then I also want it to act as a DNS server that simply sends ...
1
vote
0answers
48 views

How to create local DHCP server to give addresses to bridge ports?

How to create and setup local DHCP server(dnsmasq) via terminal to give addresses to bridge ports? For example I have bridge br0 and need to give some address to tap interface that connected to br0. ...
1
vote
0answers
146 views

Implement Catch-all HTTP Server using DNSMASQ

Ubuntu 14.04 | dnsmasq My goal is to setup a catch-all HTTP server using an Ubuntu 14.04 workstation as DNS resolver. I have installed dnsmasq on my Ubuntu 14.04 OS using apt-get install dnsmasq and ...
1
vote
0answers
703 views

dnsmasq unrecognized command

I'm attempting to run a script which calls service dnsmasq restart service dnsmasq restart dnsmasq: unrecognized service No matter what I call for dnsmasq, it gives me the "unrecognized service" ...
0
votes
0answers
16 views

How to control startup options of dnsmasq?

I'm on Ubuntu 16.04 Xenial and Network Manager started dnsmasq for me with these options: ~/ ps awux|grep dnsmasq nobody 2649 0.0 0.0 54488 3588 ? S Mai23 0:00 /usr/sbin/dnsmasq ...
0
votes
0answers
24 views

ARP query every 10 seconds from Router

I recently discovered that there is a process on my machine that my router is sending a ARP query every 10 seconds asking: who is on IP address 192.#### As a result, dnsmasq is trying to respond to ...
0
votes
0answers
45 views

open wifi Captive portal w/only local net (no internet/wan)?

I am trying to set up a wireless 'test' box to use on a private club (11,000 acres). The initial tests won't need anything fancy, it will just be checking the visibility of a hotspot from a high-point ...
0
votes
0answers
33 views

HowTo : IPXE with APACHE and DNSMasq - Chainload Ubuntu

The goal: PXEBoot to IPXE menu and select Ubuntu Desktop and load LiveDesktop This is just for the sake of a complete tutorial, I will want more OS's but I figured Id start with Ubuntu Desktop. My ...
0
votes
0answers
67 views

How to use dnsmasq on Ubuntu core snappy

On the snappy store I found dnsmasq which would be useful to access webservers running on lxd. When I installed it, it didin't do any change on the system. When I entered the /apps/dnsmasq-arm.howy ...
0
votes
0answers
47 views

DNS query refused when using Android tethering

I'm using Ubuntu Desktop 14.04.4 and trying to use Android 6.0.1 tethering. Both WiFi and USB connection to the phone seem to be managed well by Network Manager, but the DNS is not working properly. ...
0
votes
0answers
45 views

Split DNS on Ubuntu 14.04 (Zimbra and Apache)

I'm trying to set up a Zimbra server alongside my Apache2 Web server. Since I want them to both use https, I need to have Zimbra running on a different IP. I also need the Zimbra server to run on an ...
0
votes
0answers
30 views

hosts-files and/or dnsmasq does not work properly or is it? Xubuntu krnl 4.2.0-23

What is my problem? If I PING facebook.com (127.0.0.1) 56(84) bytes of data. but if I PING oglaf.com (208.113.148.140) 56(84) bytes of data. 64 bytes from ps1646.dreamhost.com ...
0
votes
0answers
17 views

dnsmasq - can I setup mutiple dhcp ranges, where the range a client gets is based on the 1st part of their hostname?

I have an Ubuntu 14.04 server serving DNS/DHCP with dnsmasq. I have multiple system's some with static IP's and some using DHCP. this all works fine. I have other machines being built up with PXEboot ...
0
votes
0answers
31 views

Problem with dnsmasq

I accidentally removed dnsmasq-base from my system and eth0 stopped working. When I go to settings network it says that it isn't compatible with my system, so I reinstalled it again and still doesn't ...
0
votes
0answers
51 views

domain not forwarding via dnsmasq

I'm using : Distributor ID: Ubuntu Description: Ubuntu 14.04.3 LTS Release: 14.04 Codename: trusty And Dnsmasq version 2.68 Copyright (c) 2000-2013 Simon ...
0
votes
0answers
469 views

dns forwarder dnsmasq not working . . .?

I installed lubuntu 15.04 into a VirtualBOX vm and am using openvpn to connect to PureVPN service. I lose connectivity after an unknown amount of time. Disconnecting the VPN doesn't help. I've ...
0
votes
0answers
78 views

Why does dnsmasq use /bin/dash?

I am running apparmor in enforce mode for most profiles, and I regularly see denied messages like the following one: apparmor="DENIED" operation="exec" profile="/usr/sbin/dnsmasq" name="/bin/dash" ...