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

0
votes
1answer
49 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
0answers
15 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
2answers
69 views

Trying to change the nameservers, I am stuck by the complexity I found

I am trying to change the nameservers being used by my Ubuntu machine (just my laptop, not a server). In the good old days in which I was using Slackware I just needed to edit /etc/resolv.conf and my ...
2
votes
1answer
94 views

Something is listening on port 53

I want to set up bind9, but something is listening on port 53. It's local address is ubuntu.ubuntu-do:domain. How to disable it, so it wouldn't listen anymore? I think it is dnsmasq, but still I don't ...
3
votes
1answer
132 views

How to set the upstream servers of dnsmasq on ubuntu 15.10?

I want to set the upstream servers of dnsmasq on ubuntu 15.10. I've read a lot of documentations or resources about dnsmasq, in which they referred to a configuration file called /etc/dnsmasq.conf, ...
0
votes
0answers
20 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
31 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
1answer
36 views

How to resolve multiple hosts inside a NAT firewall

My apologies if this has been asked before, but I can't seem to find a complete solution. I have a hosted sub-domain at no-ip.com with a wildcard DNS option enabled. On my end I have a firewall ...
1
vote
1answer
169 views

/var/run/dnsmasq/resolv.conf nameserver contents

Xubuntu 15.10 using Ethernet From my understanding, /var/run/dnsmasq/resolv.conf should contain the nameservers used by dnsmasq to resolve addresses and is configured by a script called by ...
1
vote
1answer
61 views

dnsmasq resolver on different port

Im trying to use dnsmasq in conjunction with dnscrypt. I can't get dnsmasq to work with a server being a local address / non dns port. Is this possible? I've tried setting dnscrypt to 127.0.0.1 ...
0
votes
1answer
80 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 ...
-1
votes
1answer
156 views

Chrome and Firefox can not resolve the same host name, dig can

Ubuntu 14.04. I am on a local domain, xxx.local. From the terminal I can use dig and host to lookup many names served from our local dns servers like zzz.yyy.xxx.local. When I type that same host ...
0
votes
1answer
68 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 ...
1
vote
1answer
131 views

Restricted internet access on 14.04. Teamviewer works, websites don't load

I now know it is not a DNS issue, because I can't even ping 8.8.8.8. I've added the output of tracepath 8.8.8.8. My machine running the most up-to-date version of 14.04 Trusty. The mobo has two ...
0
votes
2answers
33 views

How to Uninstall dsnmasq completely and what are the side effects of doing so?

I don't want dsnmasq running all the time. I want to uninstall it. How to do it? I also found this ...
1
vote
0answers
43 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 ...
0
votes
1answer
49 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 ...
1
vote
0answers
76 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 ...
0
votes
0answers
269 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 ...
1
vote
1answer
63 views

How can I reinstall dnsmasq?

I accidentally removed dnsmasq from my computer by running rm /etc/init.d/dnsmasq I was working in root when I did it. I was trying to learn how to stop DHCP and just messed up. (Now I can't ...
0
votes
1answer
112 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
800 views

DNS routing after PPTP connection

I use a PPTP VPN to connect to my work's environment, but don't know how to configure DNS resolution the way it seems appropriate. When I connect via Network Manager I get two servers in ...
1
vote
2answers
90 views

Is there a way to force use of one particular DNS server among multiple listed?

Before pushing new configuration changes on our DNS servers, I like to test and verify on a 'test' server before applying the changes on our 'production' servers. So this is my deck network config : ...
1
vote
0answers
45 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
89 views

dnsmasq giving out IPs in the static range

I have the following in my dnsmasq.conf: dhcp-range=set:red,10.1.1.2,10.1.1.69,72h,static dhcp-range=set:blue,10.1.1.70,10.1.1.100,72h,static dhcp-range=set:white,10.1.1.101,10.1.1.200,12h ...
0
votes
0answers
73 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" ...
0
votes
0answers
32 views

“Learning” DNS server

I recently used a Raspberry Pi as a router, including services like DNS and DHCP in addition to nat. "dnsmasq" works really fine, resolving the IP addresses stored in /etc/hosts. But it can't ...
3
votes
0answers
221 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 ...
1
vote
1answer
81 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 ...
0
votes
0answers
150 views

Can DNSMASQ make an ip alias from /etc/hosts?

my hosts file has this line for example : 127.0.0.1 local.test.com i want it to respond this domain as another ip, like my local network ip. 192.168.1.10 local.test.com The alias option doesnt ...
0
votes
0answers
97 views

Blocking a domain with dnsmasq - is dnsmasq.conf being ignored?

I'm trying to block a particular domain by having it resolved to 127.0.0.1. I set up /etc/dnsmasq.conf to block this domain, like so: $ cat /etc/dnsmasq.conf address=/blocked-domain.com/127.0.0.1 $ ...
1
vote
3answers
137 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: ...
1
vote
1answer
145 views

dnsmasq disabled on Network Manager

When I first started using Ubuntu, it would always use dnsmasq. I mean when I would enter $ nslookup www.bing.com The result would come from 127.0.0.1. But after installing and configuring ...
1
vote
0answers
110 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 ...
0
votes
0answers
113 views

Query the DNS server(s) that are used for VPN

Is there a robust way to show which DNS servers are currently used by dnsmasq? The suggested Command-line to list DNS servers doesn't seem to help when VPN is active, and searching in syslog is not ...
0
votes
2answers
846 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 ...
1
vote
1answer
133 views

Setting up DNS on JUJU for local

So I have found Juju, which looks amazing! However a huge blocker for me is not knowing how to setup DNS. I have a dedicated server running Ubuntu 14.04LTS with JuJu installed, running local ...
-1
votes
1answer
385 views

Possible Error - /usr/sbin/dnsmasq

Can someone please verify if what I am seeing is an error or not? I may have found an error while looking at the running processes using htop. Specifically, it's connected to NetworkManager service: ...
1
vote
1answer
271 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 ...
2
votes
1answer
415 views

How can I tell which DNS servers DNSMasq is using?

How can I tell which DNS servers DNSMasq is using to resolve a name to an IP address? I can't figure it out. All of the existing questions here seem to just go as far as telling users that they are ...
0
votes
1answer
1k views

Configuring DHCP-Server using dnsmasq [closed]

I can't seem to make my DHCP Server (dnsmasq) work, even though there are so many tutorials on the internet. Somehow something doesn't work out for my setup. What I have: A computer, a laptop, a ...
0
votes
1answer
55 views

Is it possible to use services that provide their own pid, like dnsmasq, to use with upstart?

I need badly a better way to refresh dnsmasq configuration than in How to let built-in DHCP assign a static IP to LXC container based on name, not MAC address . I cannot afford restarting all ...
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 ...
0
votes
1answer
2k views

How to configure Ubuntu to use all nameservers detected by dnsmasq?

I am having trouble resolving DNS names on an internal VPN network, even though dnsmasq successfully detects nameservers on the VPN. The following is relevant output from /var/log/syslog: ...
0
votes
1answer
333 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 ...
2
votes
0answers
494 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 ...
1
vote
1answer
517 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 ...
10
votes
2answers
12k views

How do I restart dnsmasq?

I can't figure out how to restart dnsmasq. service dnsmasq restart dnsmasq: unrecognized service SOLUTION Restart the network manager (his parent) sudo service network-manager restart
1
vote
1answer
1k views

how to add lxc containers to host's DNS so that getaddrinfo() can resolve them?

I'm running LXC containers on Ubuntu 12.04 with a 3.8 kernel. The containers are on a host-only network, so their addresses are managed by dnsmasq. Is there a way to configure the host so that ...
7
votes
2answers
1k views

Why do my DNS settings keep having to be reset?

I have a laptop that I use on my home LAN, my work LAN and my work VPN via my home LAN through OpenConnect. In addition, I also sometimes use TorGuard, which is a OpenVPN connection. All of these are ...