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
16 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
12 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
27 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
21 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
55 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
31 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
39 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 ...
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
104 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
279 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
463 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
29 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
48 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
382 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
108 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
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 ...
0
votes
1answer
280 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
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 ...
1
vote
1answer
208 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 ...
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
426 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 ...
0
votes
1answer
171 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. ...
3
votes
1answer
147 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
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" ...
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
283 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
3answers
153 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
168 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
140 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
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
164 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
448 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
339 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
2answers
644 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
61 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
3k 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
473 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 ...