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

1
vote
3answers
55 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: ...
2
votes
2answers
587 views

Why does Ubuntu spends so much time setting the network at startup?

Booting got very slow about the time I began testing Ubuntu 12.10 quantal. I think networking is one of the causes. I suspect networking is doing a lot of work that is unnecessary (since it was very ...
1
vote
2answers
2k views

On Ubuntu 12.04.2, what happens if I disable dnsmasq?

I am using Ubuntu 12.04.2 LTS. If I issue the following command sudo gedit /etc/NetworkManager/NetworkManager.conf and change the line dns=dnsmasq to #dns=dnsmasq What will happen? Will I ...
2
votes
1answer
305 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 ...
2
votes
1answer
579 views

DSL through pppoeconf works but through Network Manager stops some sites from loading in browsers?

I am having Ubuntu 12.04. DSL through pppoeconf(connecting at boot time) works without any problem but connecting through Network Manager stops some sites from (fully)loading in browsers ? Disabling ...
1
vote
1answer
16 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
667 views

Do I need dnsmasq?

When I nmap localhost get this: 53/tcp open domain dnsmasq 2.59 What is it and do I really need it? I tried to remove it with sudo apt-get remove dnsmasq-base but it said if I would continue it ...
1
vote
1answer
200 views

dnsmasq works in terminal, but not applications in Ubuntu 12.04

I am attempting in effect to add Server=/example.com/11.22.33.44 to the configuration of dnsmasq in order to route queries for example.com to a specific nameserver. To implement this I did the ...
1
vote
1answer
2k views

12.04 VPN/resolv.conf issues

According to http://www.stgraber.org/2012/02/24/dns-in-ubuntu-12-04/ resolv.conf contains only a single record for local dnsmasq server When I connect to OpenVPN server using network-manager-openvpn ...
1
vote
1answer
774 views

resolv.conf auto reset by dnsmasq after install libvirt-bin

After I install libvirt-bin and ubuntu-virt-server, etc., my resolv.conf gets overwritten by dnsmasq about every hour. I haven't installed network-manager and resolvconf. When I search for dnsmasq I ...
0
votes
1answer
50 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 ...
0
votes
1answer
96 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 ...
0
votes
1answer
568 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
134 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
185 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. ...
0
votes
1answer
827 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 ...
0
votes
1answer
124 views

How can I have a network connection after uninstalling network manager?

I removed dnsmasq-base with sudo apt-get remove dnsmasq-base then I tried to install sudo apt-get install dnsmasq After executing the first command network manager is disabled and I am not more ...
0
votes
1answer
476 views

dnsmasq not running

i installed ubuntu 12.04 on a netbook with 16GB SSD. To keep the installation small i used the mini.iso i got from here. Everything worked fine, but i noticed that dnsmasq does not get started by ...
2
votes
0answers
37 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 ...
2
votes
0answers
546 views

Hostapd serves all webpages to Windows 7 client, not so XP or Android

I have installed hostapd and dnsmasq in a laptop running Linux Mint 15, as a wireless relay: Incoming from remote wifi router is through wlan0, pcmcia wifi card serving client machines is wlan1. This ...
2
votes
0answers
3k views

Android device unable to obtain ip address connecting to AP created with Hostapd

I have a wired internet connection that works behind an authenticated proxy server. I followed the steps mentioned here and managed to create a hotspot which my google nexus 7 detects. However, it ...
1
vote
0answers
27 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 ...
1
vote
0answers
269 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
0answers
430 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" ...
0
votes
0answers
7 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
26 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
22 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 ...
0
votes
0answers
30 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
25 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 $ ...
0
votes
0answers
47 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
0answers
168 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 ...
0
votes
0answers
192 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
34 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
0answers
50 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.
0
votes
0answers
88 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
89 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 ...
0
votes
0answers
72 views

MAAS Connection Refused 8000

from the new node I am trying to add - I get the following error Could not connect to <>:8000 (<>). - connect (111: Connection refused). Any suggestions are appreciated?