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

1
vote
1answer
794 views

Restrict dnsmasq to offer DHCP to VMs on localhost only?

I need to set up dnsmasq to offer DHCP (and optionally DNS) to VMs running on the localhost only, and not to any other systems doing a DHCP Discover that are external to the box running dnsmasq. Do I ...
1
vote
3answers
1k views

How to configure dnsmasq to forward multiple DNS servers?

I'm now using public DNS over VPN to avoid some DNS pollution in China. But this come with a price that I can't take advantage of CDN. Is there a way to configure dnsmasq and let it query both DNS ...
1
vote
2answers
296 views

DNSMasq swallows local A-entries

When I query the ISP's DNS server for foo.example.com, it comes back with something like this: ;; ANSWER SECTION: foo.example.com. 159 IN A 192.168.40.20 (note that the IP address is a local ...
1
vote
1answer
344 views

Replacing stock dnsmasq with optware dnsmasq

This question if for DD-WRT installed on e3000 with optware. I have replaced the stock dnsmasq to get logging, using this: http://www.dd-wrt.com/phpBB2/viewtopic.php?p=660694 I installed optware on ...
1
vote
1answer
1k views

Using dnsmasq for accessing multiple nameservers assigned by DHCP

At my work desktop running openSUSE 11.4, I have a local network which gets its address, domain (work.site) and nameservers (10.100.1.1, 10.100.1.2) info through DHCP - which get written into ...
1
vote
1answer
632 views

Getting Samba, DHCP and DNS to play nice

The scenario: a simple home network. At its core it consists of: an ADSL 4port wireless router. Acting as a DHCP server. (running dd-wrt) An Ubuntu server, running Samba, as a NAS. a mix of other ...
1
vote
1answer
454 views

Dnsmasq - DNS plain lookups not working, though qualified lookups and host records seem correct

I've got a simple dnsmasq setup, but am encountering an error. In particular, the following is not working as I'd expect it to: pinging the plain domain fails, but pinging a local-qualified name ...
1
vote
1answer
1k views

Configuring dnsmasq to act as a IPv6-to-IPv4 or IPv4-to-IPv6 forwarder?

Is there a guide somewhere about how to rig up some IPv6-to-IPv4 and IPv4-to-IPv6. I'd like to be able to run a dual stack on my home lan but not forfeit ipv4 just yet.
1
vote
2answers
688 views

DNSmasq configuration woes, how to make DHCP names served out of DNS entries

My DNSmasq configuration is as follows: dhcp-range=private,192.168.128.100,192.168.128.200 dhcp-range=public,192.168.129.100,192.168.129.200 dhcp-option=private,option:router,192.168.128.1 ...
1
vote
1answer
370 views

Google images sometimes terribly slow when using dnsmasq

I am the admin of a small LAN of 10+ computers. I've set up a dnsmasq server for DHCP and DNS resolution, and it's working almost fine.. My problem is that when I try to use Google images, sometimes ...
1
vote
1answer
49 views

How to disable lbvirt network DNS

Is there a way to disable DNS in libvirt network? I want to have custom configured dnsmasq for local DNS caching but libvirt's dnsmasq holds 53 port.
1
vote
0answers
92 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
1answer
1k 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
0answers
204 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
158 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
1answer
729 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
0answers
311 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
240 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
2answers
683 views

DNS Server with dnsmasq

I'm trying to set up dnsmasq as a dns server on a virtual machine running Debian. I can successfully run nslookup from another computer: nslookup facebook.com 10.0.11.2 and the answer I get is: ...
1
vote
0answers
221 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
347 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
1answer
2k views

Configuring dnsmasq to handle mx records on pfsense 2.0.1

I know from dnsmasq's man page that it is capable of handling mx records, but I can't seem to find anything in pfsense's web GUI or anywhere online that talks about how to include mx records. I'm ...
1
vote
1answer
142 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
384 views

DNSMASQ configuration [closed]

I am using DNSmasq, OpenDNS and DYNDNS. DYNDNS is for my FTP site, and I am using OPEN DNS to filter porn from my kids itouch/ipad. However, I would like a few computers to have the capability 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
1answer
485 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
292 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
2answers
646 views

How to downgrade dnsmasq?

after upgrating to ubuntu 11.04, I lost dnsmasq. When I run /usr/sbin/dnsmasq start I get dnsmasq: junk found in command line Apparently I need to downgrade dnsmasq but Package->Force version is ...
1
vote
1answer
292 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 ...
1
vote
0answers
304 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
3answers
1k views

How to resolve all .dev domains to localhost on Windows

We'd like to set things up on our developers' Windows boxes such that all .dev domains resolve to localhost. On Unix systems, firing up dnsmasq with a single additional line to hosts would do it, but ...
0
votes
2answers
321 views

How to serve custom dns to dhcp clients in openWrt? [closed]

I would like to serve custom DNS server to dhcp clients. How I can achieve that in openWrt?
0
votes
2answers
380 views

how to give cname to any device?

I am working on linux environment and c language. I can not use python,perl,PHP and apache. What my exact need is I want to give a same host name to each device connected in the network. I know that ...
0
votes
2answers
39 views

Routing DNS requests via DNSMASQ [duplicate]

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
151 views

URL logging on DNS server?

Following this setup http://www.g-loaded.eu/2010/09/18/caching-nameserver-using-dnsmasq/ I was able to configure a DNS resolver server using dnsmasq for my network. The setup works correctly and logs ...
0
votes
1answer
135 views

Suggestions required for Internal DNS

I'm setting up new server environment consist of 70+ servers all running Linux (Redhat/CentOS mixed.) I want to setup a couple of DNS server (primary/secondary) to be used/configured on all servers ...
0
votes
2answers
1k views

How to Zone Forward to a List of Alternative Name Servers in pfSense 2.0.1

I'm not sure if dnsmasq is involved in this process on pfSense or not. Before pfsense, we'd do this in BIND thusly: zone "firstpartner.com" { type forward; forwarders { 1.2.3.4; 5.6.7.8; ...
0
votes
1answer
202 views

Is dnsmasq a cache?

I have doubt whether dnsmasq is a DNS server or just a cache for DNS. I see in some of the linux machines that the dnsmasq is installed. Is it installed in default? Thanks in advance.
0
votes
1answer
758 views

Can I specify more than two DNS in dd-wrt? Different company DNS?

Right now my "Additional DNSMasq options" is as follows: no-resolv strict-order server=208.67.222.222 server=208.67.222.220 1. can I specify OpenDns for the first and genuity for the second (i.e. ...
0
votes
1answer
561 views

Using dnsmasq, loopback works but local clients don't

I just finished configuring dnsmasq on a local machine and it seems to work fine when resolving domains using itself. When I point another machine on the network to use the dnsmasq machine as its sole ...
0
votes
1answer
1k views

Problems setting up dnsmasq

Its currently set up as follows: # /etc/dnsmasq.conf domain-needed bogus-priv address=/doubleclick.net/127.0.0.1 except-interface=eth0 dhcp-range=interface:eth1,192.168.1.10,192.168.1.127,12h ...
0
votes
2answers
2k views

dnsmasq: how to increase TTL?

Is there a way to override & increase the received TTL from an upstream DNS server? Is there a configuration parameter in dnsmasq for this?
0
votes
1answer
278 views

How can I get bind to return the same dns answer as DNSMASQ returns?

As Dnsmasq does not support Views, I have installed and configured bind9. Everything works, however I am noticing on a specific entry that my bind server is not returning the same answer/response as ...
0
votes
2answers
1k views

is it possible to run bootp/pxe server using dnsmasq without act as dhcp server

on my network its already exist a router that do dhcp, boot in this network i need to boot a diskless system that use pxe to boot from network, while the pxe server is using dnsmasq to serve O/S, but ...
0
votes
1answer
58 views

Make dnsmasq reject some names

I'd like to setup dnsmasq as DNS-only server for blocking certain domains. But instead of having it return 127.0.0.1 or 0.0.0.0 or such, I'd like it to respond with a No such name. just as if the name ...
0
votes
1answer
1k 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
2answers
4k views

dnsmasq - Multiple forwarding servers for domain entries?

I was wondering if it was possible to configure dnsmasq to send "server=" entries to multiple upstream servers? so like this: server=/facebook.com/1.2.3.4 server=/facebook.com/2.3.4.5 and have it ...
0
votes
2answers
617 views

Securing dnsmasq - interface(s)?

Im preparing to deploy about a thousand fanless machines running Debian. Each machine has 3 interfaces (eth0, eth1 and uap0). In many cases these machines will sit between a cable modem and a home ...
0
votes
1answer
305 views

Tomato dnsmasq - limit queries to specific name server

Does anyone know if it's possible to limit queries to a specific name server using dnsmasq? As an example: All queries for anything on 172.16.0.0/12 should only be answered by server A. All queries ...
0
votes
1answer
377 views

dnsmasq Client TTL

I have a situation where my hosts file is constantly changing. Because of this I don't want clients to cache ip addresses resolved using the hosts file. Here is the command that starts dnsmasq for ...