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
10 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
11 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
0answers
53 views

How to use dnsmasq on Ubuntu core

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
21 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
20 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 ...
20
votes
2answers
3k 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
0answers
28 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. ...
2
votes
2answers
635 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 ...
1
vote
2answers
618 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
38 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
29 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 ...
3
votes
1answer
145 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
1answer
82 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
16 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
103 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
94 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
106 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
273 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
451 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
27 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
47 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
53 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
378 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
107 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 ...
14
votes
1answer
7k 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?
12
votes
2answers
16k 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
0
votes
1answer
276 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
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 ...
1
vote
1answer
206 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
36 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
58 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 ...
10
votes
4answers
24k 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
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 ...
1
vote
0answers
103 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
424 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
77 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 ...
5
votes
2answers
20k 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
170 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
1k 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
116 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
47 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. ...
47
votes
1answer
294k 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 ...
0
votes
0answers
77 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
200 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
279 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
98 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
165 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
3answers
152 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: ...