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 ...
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 ...
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 ...
2
votes
1answer
93 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
130 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 ...
4
votes
6answers
4k 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 ...
13
votes
1answer
6k views

How can I disable the DNS that Network Manager uses?

Ubuntu uses a DNSMasq instance for Network Manager starting in 12.04 - how can I disable it?
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
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
2answers
844 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
130 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 ...
9
votes
4answers
22k views

Configure NetworkManager's dnsmasq to use /etc/hosts

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 ...
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
268 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 ...
4
votes
2answers
18k views

ubuntu server not resolving LAN hostnames

Bit stuck here. I have 2 machines that cannot resolve LAN hostsnames, unless there are specific entries in /etc/hosts But other machines on the LAN can resolves hostnames. My LAN: 1 x Cisco ...
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
791 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 ...
42
votes
1answer
257k 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 ...
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 ...
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" ...
3
votes
4answers
192 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, ...
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
220 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 ...
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 ...
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: ...
3
votes
2answers
4k 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
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
112 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 ...
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 ...
4
votes
4answers
9k 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 ...
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 ...
2
votes
1answer
414 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 ...
15
votes
4answers
23k 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 ...