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
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
1k views

How can I setup a Wilcard DNS Entry on pfSense?

How can I set up Wildcard DNS on a pfSense embedded device running pfSense 2.0? Details: pfSense uses dnsmasq as a DNS forwarder Running the current pfSense release, 2.0 Running on a Netgate ...
1
vote
1answer
558 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
405 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
641 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
364 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
13 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
78 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
946 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
167 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
117 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
541 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
287 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
216 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
541 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
207 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
300 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
1k 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
130 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
360 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
446 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
278 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
574 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
282 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
292 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
690 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
316 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
76 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
61 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
1answer
499 views

NSLookup resolves to local DNS, but browser resolves to public

Problem When trying to access internal servers via hostnames using NSLookup (both Windows & Linux/Arch/Debian) I receive the correct DNS server address, FQDN and destination IP address. When I ...
0
votes
2answers
871 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
199 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
648 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
503 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
86 views

Access libvirt+KVM virtual machines with DNS

I have an Ubuntu Trusty machine running KVM + Libvirt to manage small virtual machines, and using the standard NetworkManager to connect to regular networks. I want to be able to access the virtual ...
0
votes
1answer
171 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
742 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
39 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
2answers
3k 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
463 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
261 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
279 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 ...
0
votes
2answers
786 views

Dnsmasq Configuration for OpenVPN

I'm trying to configure an OpenVZ VPS running Debian 6 to run OpenVPN. I've got OpenVPN running, and I can connect to it, but my traffic isn't passing through yet. I get an error when dnsmasq start, ...
0
votes
2answers
3k views

Dnsmasq on Tomato firmware won't reply from simple name address

I want to be able to access computer 192.168.0.3 from the simple name "pos". Not "pos.com" or anything. With my setup below I can ping dev.pos, just not pos. I have to ping mydomain.pos to get a ...
0
votes
1answer
426 views

How to delegate a zone from Microsoft Windows 2003 DNS server to dnsmasq?

I have a split domain setup on my production server farm: Each server has both an external (internet facing) IP address and a private internal (LAN facing) IP address. A local DNS server running ...
0
votes
2answers
633 views

Can I put dnsmasq in front of a win2k3 DC and have clients use dnsmasq as primary DNS?

I am running a mixed LAN, and have XP client PCs on a 2k3 domain (and therefore use 2k3 as primary DNS). For political reasons I need to run dnsmasq server in front of it and point other DNS ...