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
1answer
109 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
550 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 ...
2
votes
0answers
638 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
325 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
265 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
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 ...
0
votes
0answers
305 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 ...
6
votes
1answer
955 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
101 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
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
1answer
249 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
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
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 ...
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: ...
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 ...
-1
votes
1answer
260 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
551 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
785 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
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 ...
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 ...
2
votes
1answer
4k 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
203 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
0answers
158 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
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 ...
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; ...
1
vote
2answers
2k 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
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 ...
2
votes
1answer
707 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 ...
3
votes
4answers
410 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 ...
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 ...
5
votes
1answer
4k 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 ...
1
vote
2answers
250 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
315 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 ...
5
votes
2answers
3k 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, ...
2
votes
1answer
2k 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
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 ...
1
vote
1answer
1k 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
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
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 ...
0
votes
1answer
683 views

dnsmasq TFTP, GNU/Linux workstation, DHCP not responding

I'm attempting to get a TFTP server working, from my workstation. I've actually attempted this multiple times, never succeeded. I've setup real tftp from a router, but my home router is nothing close ...
0
votes
2answers
787 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, ...
3
votes
1answer
395 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
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
1answer
2k views

OpenVPN: Not all DNS entries get pushed to clients from server. (dnsmasq)

I have been trying to find a solution to this problem, but have found no answer so far, so I hope you guys can help me out. I have a server running Ubuntu 10.04, which has a static IP address and an ...
5
votes
2answers
6k 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?
0
votes
2answers
146 views

bind9 forward records, not just zones

The situation I am faced with is that I have a few domains hosted with UltraDNS and also with a bind9 server for local use with internal subdomains and for dhcp hostnames. For example, domain.com is ...
7
votes
1answer
5k 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 ...
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 ...
1
vote
1answer
2k 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 ...