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
0answers
9 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
29 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
1answer
21 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
22 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
16 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
67 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
122 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
38 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
0answers
24 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
113 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
85 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
47 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
70 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
1answer
662 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
1answer
263 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 ...
7
votes
1answer
642 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 ...
0
votes
0answers
30 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?
0
votes
1answer
89 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
0answers
144 views

DNS Configuration Questions

The System: Ubuntu Server 12.04 LTS The system has the Ethernet interfaces eth0 and lo Background: So I installed and configured dnsmasq on my system. dnsmasq somehow managed to update ...
3
votes
1answer
462 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 ...
0
votes
0answers
31 views

Is there a way to set BOOTIF in dnsmasq equivalent to isc-dhcpd?

It would seem that isc-dhcpd sends BOOTIF parameter for PXE booting clients. The initramfs-tools package detects this and uses the BOOTIF variable to determine which interface to set up for the root ...
0
votes
0answers
161 views

Problem with dnsmasq

I'm using hostapd and dnsmasq to turn my server in a wifi access point. The WiFi is set up and seems to be working. But when the computer boots there's a massage saying something like "Interface ...
1
vote
3answers
2k 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 ...
1
vote
0answers
293 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
138 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
494 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
0answers
59 views

DNS / resolve issue with certain commands

I have dnsmasq running on my gateway and have populated /etc/hosts with host information for my LAN. This works great for all my workstation they can resolve both short and long host names, e.g. ...
1
vote
0answers
129 views

dnsmasq Not Serving Up Hostnames on hostapd Network

My goal is for clients to be able to connect to my wifi access point and access services on it using a hostname. Currently clients can connect and get assigned an IP by DHCP, but they cannot resolve a ...
2
votes
0answers
411 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 ...
0
votes
0answers
149 views

how can i rewrite url to a specific ip or another domain in dnsmasq? [duplicate]

i added two lines: address=/dev/127.0.0.1 address=/g.cn/127.0.0.1 to /etc/dnsmasq.conf file, and i have nginx listened 80 port. open urls like http://xxx.dev/, i can see nginx's default site. ...
1
vote
0answers
237 views

Setting up pxeboot dnsmasq in VirutalBox with Ubuntu 12.04

My dnsmasq.conf interface=eth1 domain=yourdomain.com dhcp-range=192.168.50.100,192.168.50.200 dhcp-boot=pxelinux.0,pxeserver,192.168.50.1 enable-tftp tftp-root=/srv My /etc/interfaces auto lo ...
14
votes
1answer
92k 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
0answers
221 views

Running openvpn with dhclient without messing up name resolution

I connect to an Openvpn server that requires me to set up the tap interface with dhclient after establishing the connection. I run and exit dhclient like this: /sbin/dhclient -nw -v tap0 ...
1
vote
1answer
463 views

nslookup keep using 127.0.0.1 specified in /etc/resolv.conf rather than using the name server specified in /etc/dnsmasq.conf

I want to use dnsmasq to specify some DNS name server for some domains (e.g. google) in /etc/dnsmasq.conf, server=/www.google.com/8.8.4.4. For the rest of the domains still use 127.0.0.1 which is ...
0
votes
1answer
108 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 ...
1
vote
0answers
764 views

Ubuntu 13.04 NetworkManager / dnsmasq shared connection Ethernet reconnect loop

After rebooting my computer after the 13.04 do-release-upgrade NetworkManager has been unable to set up a shared connection between my laptop and desktop. Looking at /var/log/syslog I see that dnsmasq ...
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 ...
3
votes
1answer
3k views

Internet connection sharing without Network Manager

I followed these instructions for setting up a shared internet connection with iptables. Specifically, I: Added a network interface for my second NIC in /etc/network/interfaces like so: auto eth1 ...
1
vote
1answer
1k views

Where has the /var/run/nm-dns-dnsmasq.conf file gone? [duplicate]

In 12.04 I could find out which nameservers are registered by "cat"ing the /var/run/nm-dns-dnsmasq.conf file, but now in 13.04 this file has gone. Where is it or how else can I get this list? ...
2
votes
2answers
473 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 ...
3
votes
1answer
254 views

juju, dnsmasq and `.localdomain`

I'm trying to setup an Ubuntu private cloud infrastructure on a virtual environment via learning from https://wiki.ubuntu.com/SecurityTeam/TestingMAAS and ...
1
vote
0answers
176 views

Is there a dnsmasq's “address=/” equvilent in isc-dhcp-server?

I previously had Ubuntu 12.04 x64 running dnsmasq & tftpd-hpa & nfs for PXE boot I currently have Ubuntu 12.10 x64 running isc-dhcp-server & tftpd-hpa & nfs for PXE boot (from a clean ...
3
votes
1answer
257 views

What's the point of dnsmasq in NetworkManager?

I very recently came to realize that the caching is disabled by default on the dnsmasq that is integrated with NetworkManager. In my mind, that defeats the point and makes dnsmasq a redundant layer in ...
8
votes
3answers
12k 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 ...
9
votes
1answer
4k views

Is dnsmasq not loading because of a Network Manager conflict?

I'm on 12.10, and have always used dnsmasq. A few days ago I noticed strange messages during boot: NetworkManager[1316]: <warn> DNS: plugin dnsmasq update failed dnsmasq[1302]: failed to create ...
1
vote
0answers
213 views

lost internet connection when upgraded from 12.04 to 12.10

I don't have Virtualbox and I'm not really good with codes and stuff, but I updated my machine from 12.04 to 12.10 and now the internet is not working. The only message I got was 'nautilus has not ...
2
votes
1answer
426 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
10k 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 ...
7
votes
1answer
2k 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?
16
votes
2answers
1k 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 ...