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
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
226 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
877 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
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
1answer
355 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
2k 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
60 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
2k 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
697 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
333 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
476 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
980 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
543 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
642 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 ...
0
votes
1answer
902 views

Set host firewall so VMs obtain dynamic IP from dnsmasq

Virtual machines (KVM/libvirt) fail to obtain a dynamic IP address from the libvirt-launched dnsmasq running on a CentOS host when the firewall is running. When I turn off the firewall (CSF), the ...
0
votes
0answers
8 views

How to enforce dnsmasq to use internal dns for apex domain

We host example.com at Amazon and use Route 53 which works well outside VPN. From inside VPN we need to access to multiple internal subdomains, such as test.example.com, dev.example.com etc. which ...
0
votes
0answers
11 views

dnsmasq classless reverse forwarding

I'm currently using a dnsmasq as DNS forwarder for a handful of classless zones and the A record forward is working fine. But I now do have some trouble with the PTR query forwarding, since I don't ...
0
votes
0answers
20 views

Why Windows not get DHCP properly?

I have a VM that installs Windows Server 2008 R2 Enterprise. It configures both DHCPv4 and DHCPv6 clients. The VM locates on an isolated network, where a dnsmasq offers both DHCPv4 and DHCPv6 ...
0
votes
0answers
8 views

dnsmasq, dynamically add addresses?

Is it possible, with dnsmasq, to dynamically add/remove addresses ? For instance, executing a script from php (it's maybe bad, but theorically, is it possible ?) to add: address=/altern.org/100.2.3.4 ...
0
votes
0answers
33 views

Dnsmasq , redirect all but google.com

My router uses dnsmasq. In my dnsmasq.conf, I write: address=/#/127.0.0.1 in order to resolv any domain to my local server. It works. Now I'd like to make possible to join www.google.com. Any other ...
0
votes
1answer
30 views

Assigning different IP from range on dnsmasq DHCP server

I have an installed dnsmasq DHCP server. I want to assign different IP address from defined range. For instance my IP range is 10.11.12.10 - 10.11.12.50 but I want to assign different IP ...
0
votes
1answer
44 views

Linux DNS caching for performance and safety

I am trying to figure out how to do this properly. My servers use search-domain to find the FQDN, so my code can connect using redis as the host, etc. I ran into a problem where the DNS provider for ...
0
votes
1answer
103 views

Linux: nslookup and dig resolve $HOSTNAME, but ping doesn't

In our private network we have a Consul service discovery server (10.241.232.14) that provides a DNS interface (port 8600). We would like to set our common DNS servers to forward some queries to the ...
0
votes
1answer
426 views

dnsmasq: failed to create listening socket for port 53: Address already in use

I got this error when i done the setup dnsmasq. ashokkrishna@krishna:~$ sudo dnsmasq dnsmasq: failed to create listening socket for port 53: Address already in use ashokkrishna@krishna:~$ netstat ...
0
votes
0answers
147 views

Dnsmasq's DNS response auto caching feature not working

Dnsmasq Cache and Internal Log on USR1 signal dump (when running with or without --no-daemon and --log-queries for analysis) it always shows: 0/0 cache, meaning caching feature of Dnsmasq not working. ...
0
votes
0answers
31 views

Why can I only have one ProxyPass'ed subdomain?

Edit: The problem disappeared when I restarted my computer. I apologize for wasting everyone's time with this! I'm trying to set up local .dev domains for my different production apps. I have an ...
0
votes
1answer
89 views

accessing same domain name through a different port

I have a production website, and a development website. The must be accessed through the domain name, www.mysite.com. I would like to be able to access the dev site through a praticular port, say ...
0
votes
1answer
93 views

cobbler managed dnsmasq is not listening on the correct interfaces

I have a cobbler server I am trying to get installed. Unfortunately dnsmasq is not listening on the correct interfaces. It should be listening on my 192.168.10.2 network which is assigned to br1 ...
0
votes
1answer
39 views

dnsmasq to server different ip depending on which NS is used

I want to simulate the following situation: If the client makes a request using NS1 for DOMAIN1 return IP1 If the client makes a request using NS2 for DOMAIN1 return IP2 i.e resolve the domain to a ...
0
votes
1answer
147 views

URIBL_BLOCKED on Ubuntu 14.04 Server with working Dnsmasq

I've set up a small mail server which includes Spam Assassin. Everything seems to work great except one. SA docs suggest installing a caching DNS server to keep some RBLs from blocking the server over ...
0
votes
1answer
226 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
0answers
509 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
24 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
1answer
89 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
1k 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
284 views

Puppet install of Openstack: Could not find resource 'Package[dnsmasq-base]Package[dnsmasq-utils]' for relationship on 'Package[neutron-dhcp-agent]'

ebug: Executing '/etc/puppet/etckeeper-commit-pre' debug: catalog supports formats: b64_zlib_yaml dot pson raw yaml; using pson err: Could not retrieve catalog from remote server: Error 400 on SERVER: ...
0
votes
1answer
184 views

Use a LAN IP for dnsmasq

We have a single iMac in our office running a Vagrant box exposing the public IP of 192.168.1.70. Everyone in the office used to all be able to access sites on this box (which all use ".dev" such as ...
0
votes
0answers
541 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
1answer
205 views

dnsmasq - filter requests by source IP

It is not recommended to answer recursive DNS queries from outside the local network. Is there a way to make dnsmasq answer queries about specified domains (part locally part forward to another DNS ...
0
votes
2answers
227 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
0answers
164 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
81 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
1answer
859 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
112 views

Fix security vulnerability in dnsmasq on Ubuntu 12.04

I have an Ubuntu 12.04 server using dnsmasq and recently ran into the following security vulnerability which does not seem to have a fix on 12.04. ...
0
votes
1answer
556 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 ...
0
votes
2answers
406 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
0answers
407 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
117 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 ...
0
votes
1answer
381 views

Getting DNS replies for non-existing hostnames (DNSMasq)

I noticed some 'weird' DNSMasq behavior when I set up my LAN for dual stack IPv4 & IPv6 networking. It seems that my DNS server (DNSMasq) which acts as a forwarder and also has all the host names ...