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

9
votes
2answers
4k views

How to configure a static wildcard subdomain with dnsmasq

I have a network behind a NAT with a few machines. The machines are: router - NAT, dnsmasq, forwarding - directly connected to the inet server - which runs ssh, www and some other stuff clients - ...
6
votes
1answer
514 views

Per-client DNS servers with DNSMasq

I am running TomatoUSB with DNSMasq to provide DHCP and DNS services for my local network. What I would like to achieve is to provide alternative DNS servers for one or two specific clients on the ...
6
votes
1answer
5k views

Setting up dnsmasq for a local network

Me, and a small group of developers have just moved to a new office, and I'd like to set up dnsmasq on our development server, so when we deploy web apps there, we don't have to edit our own hosts ...
5
votes
1answer
3k views

How to enforce dnsmasq to use dns for some hosts?

Right now I have following line with wildcard in dnsmasq.conf, which handles well all requests (this is required): address=/#/127.0.0.1 Yet, there are some domains which require proper ip address ...
5
votes
1answer
4k views

Using dnsmasq to resolve all hosts to the same address

I'm running Ubuntu server on a computer used as a wireless AP, but this AP should resolve all DNS requests to an internal IP address rather than actually performing the lookup. I want to do the same ...
5
votes
2answers
120 views

Why nslookup doesn't use mdns while ping do?

In dnsmasq.conf: address=/local/127.0.0.1 In resolv.conf: # Generated by NetworkManager domain example.com search example.com nameserver 127.0.0.1 nameserver 10.66.127.17 nameserver 10.68.5.26 I ...
4
votes
4answers
3k views

How do I MAC filter with DHCP server

I want to Only allow certain MAC addresses to get a IP from my DHCP server, currently I use dnsmasq and I rather not change dhcp server but I'm open to other software aswell. However, I need to be ...
4
votes
3answers
3k views

How do you get dnsmasq to specify alternate DNS servers?

I'm working on a network with ~10 kubuntu desktops (and numerous servers and IP phones) and am trying to get dnsmasq to specify another dns server as a failover. I tried using server=192.168.0.90 ...
4
votes
1answer
264 views

Slow boot and dns doesn't work

I don't understand what happened because i didn't change anything in system for quite a long time. Now system boots too slow and when it's booted - dns requests don't work. I can ping remote hosts by ...
4
votes
1answer
518 views

DNSMasq is slower than my ISP at returning cached DNS entries.

I have DNSMasq set up on a relatively idle Pentium D 3.4Ghz Debian Linux machine. When I run dig queries locally, the second result is always 0 ms. When I run dig queries on any other machine on my ...
3
votes
2answers
147 views

dig & nslookup can't resolve local hosts unless I specify the (local) DNS server to use

I am setting up a small private network within my University network. I have a Centos 6 box (sun) sitting between my private network and the university WAN. eth0 on the sun is connected to the WAN and ...
3
votes
1answer
310 views

Force to use specific DNS provider at network

OpenDNS offers a quite simple way for internet filtering by categories. Of course who could get the correct IP address can easily bypass the filter but it would be enough for my expectations. The ...
3
votes
2answers
67 views

make dnsmasq ignore specific entries in /etc/hosts

I've set up a machine running dnsmasq, essentially serving its /etc/hosts file. However, there are specific entries which I want in that machine's /etc/hosts, but I don't want served. How can I make ...
3
votes
2answers
2k views

dnsmasq & Tomato - Elminate the need for a trailing dot for name resolution

I realize that a trailing dot after a hostname is technically "correct", but it's a pain in the butt to type and is unintuitive for non-technical users. I had DDWRT on a Linksys router of mine many, ...
3
votes
3answers
4k views

dnsmasq reading /etc/hosts, but not using it

I've done a default install of dnsmasq. When I run dig, it seems to be using dnsmasq (127.0.0.1), but the results don't include the hostnames included in /etc/hosts. /etc/hosts: 192.168.1.13 sun ...
3
votes
4answers
271 views

Don't automatically include all subdomains in DNSMasq address

It is possible to configure DNSMasq such that it returns a fixed IP address only for a request for that exact domain, and not for its subdomains? That is, I want it to return a fixed IP when resolving ...
3
votes
2answers
1k views

Running dnsmasq as an authoritative DNS server

I am trying to implement a dynamic dns service for my computers. I have pointed h.lohray.com to my EC2 instance in the NS record of lohray.com and have installed dnsmasq on that system and have made ...
2
votes
2answers
2k views

How do I get Windows Domain Controller and Ubuntu dnsmasq to play nicely?

I've inherited "ownership" of a network which has a Windows 2003 Server running as a Domain Controller and file server (no IIS or DNS running). We also use an Ubuntu server running dnsmasq as an ...
2
votes
1answer
1k views

Dnsmasq resolves local hostname to 127.0.0.1 all over the net

My dnsmasq is configured: On host 'rtfm.lan' Domain 'lan' There are some DHCP presets that include hostnames All '*.lan' hosts registered via DHCP do resolve fine: dnsmasq known which IPs are ...
2
votes
2answers
2k views

Redirect all DNS-Requests with dnsmasq

I have following scenario: I have set up an ad-hoc network with wicd on my server, and use dnsmasq as an dhcp- and dns-server. The network works very well, I can connect, get an ip address, and on all ...
2
votes
1answer
188 views

How can i resolve all external addresses to internal address? [duplicate]

I am currently setting up a Linux server for a WIFI access-point. When ever someone who is connected to the hotspot/access-point? tries to reload a page they get forced onto the one page. Note: this ...
2
votes
1answer
1k views

Default http redirection when domain name requested, with a flashed dd-wrt router

i'm setting up a testing environment in my office and configured a router flashed with dd-wrt to be my dns. I configured the domain name in the router to mydomain.com, through Setup >> Basic Setup >> ...
2
votes
1answer
1k views

Moving the DHCP/DNS services from a Windows server (Active Directory) to a Linux machine

At my workplace we have a Windows Small Business Server, which runs DHCP and DNS services for our local network. I believe it's an Active Directory setup, but since I have no clue of Windows really, ...
2
votes
1answer
3k views

Built-in DNS server for Sonic wall? [closed]

I've got a Sonicwall TZ 215 that is currently being used as a firewall and DHCP server. Is there any built-in DNS server on this device I can use to map internal site names to IP addresses? I had this ...
2
votes
1answer
580 views

How to configure DNSMasq to allow wildcards for dns entries from DHCP?

I'm using PFSenses 2.0 in our development environment. I'm depending on the DNS Forwarder to add DNS entries for new DHCP leases. This is working well, though I need to add support for wildcards to ...
2
votes
0answers
138 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
2answers
1k views

Is it necessary to set: default gateway = DNS?

I'm working on the configuration of my test network. what are the advantages of a network configuration, by which default gateway = DNS?
1
vote
3answers
4k views

How can I override TTL of an Internet Address?

I'm running a caching DNS server currently to improve latency in a network. The question is: can I override the TTL I get from a server using BIND9 or other software on Linux? short "dig ...
1
vote
2answers
1k views

Restricting dnsmasq's DHCP server to one interface

How do I configure dnsmasq to only assign addresses on eth0, not wlan0?
1
vote
2answers
4k views

Disable dhcp service in dnsmasq

I would like to use only dnsmasq to forward all dns requests to google's dns server and disable dhcp... How can I achieve this result?
1
vote
1answer
2k views

Is there an alternative to “dnsmasq”?

What is the recommended alternative to dnsmasq? I am looking at overriding/configuring the TTL. (Probably the only thing I miss from Windows is the fact that it was more aggressive in caching DNS ...
1
vote
1answer
1k views

Pings not answered when IPv6 Support enabled in Windows 7 Ultimate 64-bit

I have Dnsmasq configured on my network to give names to various IPv4 IP addresses on the network. Pinging the other machines using their DNS names work fine when I have just IPv4 enabled on my ...
1
vote
1answer
431 views

Most DNS queries for TLDs do not pass through dnsmasq

Most DNS queries for top-level domains from my LAN behind a router with dnsmasq 2.55 on OpenWRT 10.03.1 return negative results, e.g.: $ dig com. ANY ; <<>> DiG 9.7.3 <<>> ...
1
vote
1answer
857 views

Does running dnsmasq and named create conflicts on Ubuntu 12.04?

dnsmasq is run to help make the user experience smoother for the desktop users. If I run bind/named on this same server will there be conflicts between the two? What are the limitations of dnsmasq, ...
1
vote
1answer
295 views

Routing Based on DNS

This may seem like an odd question, but I'm in a corporate network and VPNing in to Amazon's AWS, both of which use the same block of 10.0.0.0 addresses. Ultimately, there is no overlapping, but I ...
1
vote
1answer
664 views

Configuring DNSMasq on a WZR-HP-G300NH

I'm looking to configure DNS naming on my WZR-HP-G300NH router. How would one go about doing this? I have found the documentation for Dnsmasq here, and the place where it appears you can configure ...
1
vote
1answer
698 views

dnsmasq and mac filter

Using dnsmasq as DHCP provider, how is it possible to allow only certain mac addresses to get IP address?
1
vote
1answer
100 views

Waiting for devices to come up on Debian boot

I'm running OpenVPN and dnsmasmq on my wheezy system. Dnsmasq is only necessary for VPN and local users, so I don't want it to listen on all devices (yes, there is also a firewall, anyways). When ...
1
vote
1answer
81 views

What does “with domain specs non-public dns” mean?

I am configuring DNSMASQ to utilize upstream nameservers without using /etc/resolv.conf with the server= option. What I don't quite understand is what domain spec mean in the following sentence? ...
1
vote
1answer
250 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
793 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
204 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
276 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

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
340 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
590 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
362 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
0answers
49 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
389 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". ...