dnsmasq is a lightweight DHCP, DNS and TFTP server application for *nix platforms intended for use on small and home networks.

learn more… | top users | synonyms

0
votes
2answers
123 views

Spoofing NS records for pre-transfer DNS testing

I'm about to transfer a domain from one registrar and DNS provider to another, and I want to test the new DNS host before starting the transfer. The new host provides plain DNS service beforehand, so ...
0
votes
2answers
238 views

DNS lookup on DNS server works, but wrong IP on clients

I am trying to set up a DNS server to change a few domains in my local netwkork - first with bind9, then with dnsmasq. With both software, I resulted in the same problem: When executing nslookup / dig ...
0
votes
2answers
146 views

bind9 forward records, not just zones

The situation I am faced with is that I have a few domains hosted with UltraDNS and also with a bind9 server for local use with internal subdomains and for dhcp hostnames. For example, domain.com is ...
2
votes
1answer
2k views

OpenVPN: Not all DNS entries get pushed to clients from server. (dnsmasq)

I have been trying to find a solution to this problem, but have found no answer so far, so I hope you guys can help me out. I have a server running Ubuntu 10.04, which has a static IP address and an ...
1
vote
1answer
763 views

Spacewalk, Kickstart, Cobbler, PXE, Dnsmasq

I have installed a Spacewalk server. One of the final features I am trying to configure is Kickstart. I cannot seem to find any definitive documentation on how to set this up in a "real environment". ...
1
vote
1answer
458 views

DNSMasq wildcard top level domain/suffix

I'm running DD-WRT on my router and I need to block certain websites and all their potential suffixes, is that possible or would I have to list them all out individually? What I have is this ...
1
vote
1answer
127 views

Is using wildcards for hostnames in dhcp module of dnsmasq possible?

I want to have all machines with a hostname that starts with foobar- assigned an IP from a specific range with an infinite lease. All other machines should have a volatile IP. I did the following but ...
1
vote
1answer
429 views

resolvconf dnsmasq issue - system startup leaves blank dnsmasq resolv.conf file

On system start, /var/run/dnsmasq/resolv.conf file ends up being blank. I had expected the resolvconf package to update it with the info from /etc/network/interfaces (dns-nameservers, dns-search). ...
1
vote
1answer
276 views

Is it possible to separate Routing/NAT in conjunction with an internal DNSMasq host providing DNS/DHCP?

It's really great letting DNSMasq take care of DHCP / DNS, as it "just knows" everything... as it should, considering it dished out the addresses to the hosts... However, it seems (to me) - ...
1
vote
1answer
275 views

DNS Cache domains not resolving from external IP

I am using dnsmasq on a CentOS box on an external network. My config file looks as follows: port=53 bind-interfaces user=root group=dnsmasq pid-file=/var/run/dnsmasq.pid domain-needed bogus-priv ...
0
votes
1answer
20 views

DNS queries fail from local machine running dnsmasq

I have a "sandbox" web server setup for my developers to work on. Each one has their own IP, with all the "production" hostnames configured, and a DNSmasq configuration to answer for those production ...
0
votes
1answer
36 views

Resolve all external addresses to an internal address when an internet connection is missing

I am using a raspberry-pi running ArchLinux with a WiFi router to provide an access point for locally-hosted web content. I am running a DHCP server. When the Pi is plugged into an internet ...
0
votes
1answer
418 views

dnsmasq(as DHCP server) isn't working in KVM+libvirt envirmont

I'm using dnsmasq as DHCP server in VM environment. But It didn't working. I disabled basic DHCP feature in libvirt. <network> <name>default</name> ...
0
votes
1answer
749 views

dig succeeds, nslookup fails (with dnsmasq as the server)

I installed dnsmasq on a machine of mine (It's a Kubuntu 12.04 LTS), backed only by /etc/hosts (no connection to the Internet until later). Now, if I dig mymachine, I get 192.168.0.1, but if I try to ...
0
votes
1answer
511 views

Get OpenVPN clients names to resolve through dnsmasq

I have a PFSense box running as an OpenVPN server. There are several remote devices that connect through the VPN (as tap devices). The VPN stuff is working, I can access the remote hardware by ...
0
votes
1answer
258 views

multiple ips for wildcard domains using dnsmasq's config format

dnsmasq is capable of assigning multiple static ips to one host when using the hosts file: 1.2.3.4 bla.com 4.5.6.7 bla.com nslookup: Name: example.com Address: 1.2.3.4 Name: example.com ...
-3
votes
1answer
59 views

What does dnsmasq 'add-subnet' for?

I found 'add-subnet' option in DNSMASQ man page, described as forwarding client's subnet to upstream DNS server. However after I added 'add-subnet=24' (also tried 'add-subnet') to dnsmasq.conf, ...
2
votes
0answers
148 views

How do I make dnsmasq serve IP addresses via IPoIB?

I have a cluster farm that I'm setting up. The nodes (computers in the farm) are connected via ethernet & IP over Infiniband. I'm needing to netboot the nodes and thought dnsmasq would fit well ...
1
vote
0answers
73 views

How to configure servers on LAN to emulate no-ip.com functionality with dnsmasq and apache wildcard subdomains?

I have a multi workstation LAN with Apache2 serving a website at 10.0.0.3:80 and running on Ubuntu Linux. This LAN is segmented from another LAN via a router, from which all machines on this LAN ...
1
vote
0answers
159 views

dnsmasq and lxc with wildcard DNS subdomains

I'm using LXC to create a new containers. All of them are using dnsmasq with DHCP to get their IP address and to have local DNS server. I setup a domain .lxc in dnsmasq. So every container will get ...
1
vote
0answers
98 views

OpenVPN private domain unsing DNSMasq

What I want to do is to set up OpenVPN network which would make it possible to access private domain ( a.domain, b.domain, d.domain). I believe the simplest way to do it is to use dnsmasq to resolve ...
1
vote
0answers
270 views

Configuring dnsmasq to properly work with mod_rewrite on Mac OS X Mountain Lion

I desperately need help. I read an article on the echoditto blog (http://www.echoditto.com/blog/never-touch-your-local-etchosts-file-os-x-again) and followed the recommendations for setting up ...
1
vote
0answers
576 views

How to config libvirt network setting about disabling dnsmasq “except-interface=lo”?

Here is the thing. My VMs run with libvirt and use default network libvirt-provide, and I've mad each VM registers its hostname to dnsmasq set by libvirt. so I want to look up its hostname for ...
1
vote
0answers
205 views

Assign IPv6 addresses to kvm virtual machines using DHCP

I created a bridge using brctl called dhcp_test_br, and bind my new created kvm virtual machine to this bridge. Then I ran dnsmasq: dnsmasq --strict-order --bind-interfaces --interface=dhcp_test_br ...
1
vote
0answers
201 views

dnsmasq and openvpn, server resolving different IPs based on client network

Long time lurker, first time poster - here it goes: We've got an office server running Debian 6. It's used as a smb file server, ssh server, openvpn server, dns and dhcp server (via dnsmasq). The smb ...
1
vote
0answers
280 views

virtualbox instances dedicated-server with custom dnsmasq

I have dedicated server where I planned to run virtualbox virtual machines. Since the VMs are managed with vagrant/chef I may end up with many different ones. I thought it would be a great idea to ...
1
vote
0answers
1k views

Running wildcard subdomain virtualhost from a vagrant box with dnsmasq

I'm trying to run a server on vagrant. I have the standard lucid32 box up and running with dnsmasq installed. I want to be able to browse to the server from my host computer with a url like ...
1
vote
0answers
286 views

associate dhcp requests with subdomains in dnsmasq

I have dnsmasq running as a dns server with a number of linux boxes using static ips that run several virtual hosts on subdomains. I currently have the following address line in my dnsmasq.conf to ...
0
votes
0answers
13 views

Configure ufw pptpd and dnsmasq on the same server

I've got a an ubuntu 14 server running both pptpd and dnsmasq. I'm having trouble configuring ufw to allow pptp clients to resolve their DNS queries using the local dnsmasq server. I've correctly ...
0
votes
0answers
24 views

hostapd virtual wlan interface no ip from dnsmasq

I have installed hostapd and also dnsmasq to ppovide dhcp only. On the virtual interfaces i do see the ssid and all. So hostapd seems to work fine( although i am not sure). When i try to connect to ...
0
votes
0answers
46 views

DNSMasq forgetting cname entries after first access

I have an Asus router (running Merlin firmware) that is currently exhibiting an annoying issue. When I set up a cname entry in dnsmasq.conf, that entry works the first few time it's accessed then ...
0
votes
0answers
113 views

DNSMasq on DD-WRT not working as expected

Following the guide given here I created several DNSMasq options for a local network, however none of them are working as they should. I am hosting a website internally on a viertual server, however ...
0
votes
0answers
17 views

dnsmasq fails a few seconds, then get back to normal (debian)

I am running a box with debian 6.0.8, and DNSMasq 2.55 (from Debian repository). I use it to resolve some local hostnames, and it mostly works fine. but some times, it will fail to answer requests ...
0
votes
0answers
78 views

How to setup dnsmasq switch nameserver on servfail

I have dnsmasq on Ubuntu 13.10 in strict-order mode. My primary upstream dns is able to filter domains with ads\banners. So i strongly prefer to use this server to resolve names. However this server ...
0
votes
0answers
322 views

dnsmasq forward dns requests + add domain suffix for not fqdn

I want to use dnsmasq as a DNS forwarder: for fully qualified domain names it should forward request without change; for not fully qualified name it should add domain to the name and forward ...
0
votes
0answers
89 views

How to make dnsmasq resolve a domain based on where a query were made from

On my phone, I'm pointing to my PC address for DNS server (dnsmasq), and it is working for normal DNS queries but not for local. I can see from a ping app that local domains are resolved to 127.0.0.1, ...
0
votes
0answers
66 views

DHCP server with ability to update mac address dynamically

Is there a better way to maintain MAC to IP specification in dhcp with out restarting dhcp service each time when there is an update. is it possible to use DHCP with database in Linux to save all ...
0
votes
0answers
45 views

DNSMASQ+pppd daemon, can't connect to outside worl

I have DNSMASQ running as a dhcp server on my machine on the one network card. I am connected to some machines over the lan. My only outward connection is an outward connection with pppd over GPRS. I ...
0
votes
0answers
273 views

Bind querys public nameserver gets private IP as answer

Currently I have a dnsmasq server (192.168.0.53) answering with local IP addresses for queries to a public domain. Facing internet there is an old (really old) bind server, master for example.com. So ...
0
votes
0answers
98 views

How do I properly add dnsmasq to my runlevels so it starts on boot?

When I run this command: sudo update-rc.d dnsmasq defaults I get this error: update-rc.d: using dependency based boot sequencing update-rc.d: warning: dnsmasq stop runlevel arguments (0 1 6) do ...