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
15 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
37 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
21 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. ...
0
votes
0answers
13 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 ...
26
votes
1answer
177k views

How do I configure my DNS settings in Ubuntu server?

According to this page it appears to be simple. However, /etc/bind does not exist on the default installation of Ubuntu 12.04.3 LTS server. So, without installing any further software, how can ...
6
votes
3answers
17k views

Configure DNSMASQ to use /etc/hosts file

I have installed DNSMASQ but it was not starting as 53 port was busy. I found out that ubuntu already had dnsmasq package and it's working. Now the problem is...I just want to be able to resolve my ...
1
vote
1answer
276 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 ...
0
votes
0answers
36 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" ...
3
votes
4answers
148 views

Global DNS change

How do I change my DNS server globally without having to do it manually through network manager for every connection I have. I want to use OpenDNS, whether its at home, university, wifi hotspot, ...
2
votes
2answers
5k views

How do I restart dnsmasq?

I can't figure out how to restart dnsmasq. service dnsmasq restart dnsmasq: unrecognized service SOLUTION Restart network manager service network-manager restart
0
votes
0answers
26 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 ...
2
votes
0answers
63 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
25 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
47 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 ...
1
vote
1answer
65 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 ...
0
votes
0answers
38 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
71 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
2answers
3k views

Why do none of my local servers resolve?

When I try to ping or browse using a web browser certain domains names that we host on our local network, it does not work. Yet, dig and nslookup correctly return their details. What do I need to do ...
1
vote
0answers
39 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
61 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
1answer
86 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
51 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 ...
4
votes
4answers
5k views

How to let built-in DHCP assign a static IP to LXC container based on name, not MAC address

I know, that I can assign static IP manually, using /etc/network/interfaces. I also know, that I can read the MAC address of the LXC container (e.g. by looking for lxc.network.hwaddr entry in ...
0
votes
0answers
23 views

How do I add DNS entries to Network Manager's dnsmasq instance? [duplicate]

I want to add server=/myvpn.org/1.2.3.4 to some file so that my computer searches the vpn domain correctly. I've tried RTFM - but I just can't find the "root" document on "here's how to configure ...
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 ...
1
vote
2answers
148 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 ...
11
votes
4answers
17k views

What is my DNS server?

My /etc/resolv.conf looks like this: # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver ...
-1
votes
1answer
204 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: ...
0
votes
1answer
118 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 ...
3
votes
5answers
3k views

How do I enable DNS caching in the NetworkManager-controlled dnsmasq?

Ubuntu Desktop 12.04 uses dnsmasq to perform DNS lookups, but it is not configured to cache these results. (I have checked this by using dig to resolve names and I do not see a large improvement in ...
0
votes
1answer
638 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
0answers
205 views

How to configure bind find dnsmasq addresses

My PC server runs Ubuntu 14.10 It runs dnsmasq only for the DHCP services since DNS queries are resolved using bind An entry like dhcp-host=01:02:fa:04:38:7a,192.168.1.113,camera exists for an IP ...
0
votes
0answers
177 views

Ubuntu 14.10 (Desktop) Apache2 DNS Wildcard Directory Issues

Right, I've managed to read the other questions relating to this issue but none seem to solve my error. I followed http://ubuntuforums.org/showthread.php?t=1719832 & found that to be extremely ...
18
votes
2answers
2k views

Route complete TLD (*.dev for example) to 127.0.0.1

For development purposes I want all DNS requests to the .dev TLD to forward to my own PC. The hosts file does not suffice. I use multiple domains and also multiple subdomains. I would have to add a ...
0
votes
1answer
556 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
45 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 ...
0
votes
0answers
36 views

How do you establish named address resolution between local network nodes

Looking to establish being able to connect between nodes within a home network via names rather than IP addresses, I wonder what is the simplest way of accomplishing that. The network is based on a ...
0
votes
1answer
155 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
1k 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
0answers
54 views

Recommended way to create a Dynamic DNS service

I am trying to find web resources and recommendations on how to build a dynamic DNS service using ubuntu server. Any assistance would be greatly appreciated.
1
vote
0answers
303 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 ...
0
votes
0answers
99 views

How does dnsmasq cache for my entire network?

I have a Core2 duo Dell I got my hands on, I decided to install Ubuntu Server 14.04 for learning more about Linux, I googled good things to run on a server and came across dnsmasq I understand its ...
0
votes
0answers
97 views

how to find dns servers that dnsmasq is pointing to

I cannot find a list of dns servers that dnsmasq is pointing to. nm-tool only gives the internal "DNS: 192.168.1.1" I want the upstream external dns servers that this is pointing to. I am on ...
1
vote
1answer
655 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 ...
4
votes
3answers
25k views

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

I was setting up a server as in the below link https://help.ubuntu.com/community/Dnsmasq root@user-desktop:/etc/init.d# sudo apt-get install dnsmasq Reading package lists... Done Building dependency ...
0
votes
1answer
209 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. ...
4
votes
1answer
1k views

How can I redirect *.localhost to 127.0.0.1 in Ubuntu 14.04?

I used to be able to make foo.localhost, bar.localhost, etc. resolve to 127.0.0.1 by adding address=/localhost/127.0.0.1 to /etc/dnsmasq.conf But dnsmasq.conf doesn't exist in Ubuntu 14.04, and ...
1
vote
0answers
462 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" ...
2
votes
1answer
319 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 ...
0
votes
1answer
887 views

Unable to share Internet using hostapd

I'm able to connect to the access point created by hostapd bu I can't access the Internet. This has already worked for me on an Ubuntu laptop but now I'm using a netbook with Ubuntu too but it doesn't ...