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

-2
votes
0answers
46 views

Domain Resolving To Wrong IP Using DNSMASQ [closed]

EDIT: I have two VMs, one with my application which talks to the other vm running asterisk. The config for application server needs to point to the asterisk box. Do avoid having to change my config ...
0
votes
0answers
19 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
1answer
50 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 ...
1
vote
1answer
79 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". ...
5
votes
2answers
71 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 ...
0
votes
0answers
26 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
94 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 ...
-1
votes
1answer
53 views

How to setup open/public DNS server in a secure way? [closed]

For a custom application (retrieving data from embedded sensors), I need to create a fake DNS entry to redirect the requests to my servers. I want to setup a DNS server so the users just have to ...
0
votes
1answer
46 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 ...
1
vote
0answers
49 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 ...
4
votes
1answer
135 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 ...
3
votes
2answers
36 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 ...
1
vote
1answer
57 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 ...
0
votes
2answers
58 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
43 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, ...
1
vote
0answers
41 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 ...
0
votes
0answers
54 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
20 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
1answer
304 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
205 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 ...
1
vote
1answer
220 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 ...
-3
votes
3answers
234 views

How to get machines to use a DNS without a fixed IP, which does not appear in the DHCP lease? [closed]

I have some machines on a network. This network has a DHCP server - which I have no control over, and no DNS server, i.e. the DHCP lease refer you to some ISP's server and do not serve IPs for local ...
1
vote
1answer
62 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? ...
0
votes
3answers
167 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 ...
1
vote
0answers
129 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 ...
0
votes
1answer
89 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. ...
1
vote
1answer
126 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
0answers
296 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 ...
0
votes
1answer
80 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
129 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 ...
1
vote
0answers
138 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 ...
0
votes
0answers
208 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 ...
5
votes
1answer
328 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 ...
0
votes
0answers
85 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
2answers
422 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
1answer
151 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 ...
0
votes
2answers
255 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
2answers
204 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 ...
1
vote
2answers
292 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: ...
0
votes
1answer
196 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 ...
-1
votes
1answer
164 views

dnsmasq content filter [closed]

Is it possible so use dnsmasq as a selective content filter (just for specified clients - defined by their MAC address) I know how to create a global content filter. I know that a proxy should be ...
1
vote
1answer
353 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 <<>> ...
4
votes
1answer
400 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 ...
0
votes
1answer
162 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 ...
1
vote
3answers
627 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 ...
2
votes
1answer
2k 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
165 views

How can i resolve all external addresses to internal address?

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
0answers
124 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
180 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 ...
0
votes
2answers
484 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; ...