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
46 views

Some IPv6 hosts send all traffic, even in same subnet, to router

I noticed a routing issue with IPv6 with our LAN. Most of the client PCs are LTSP thin clients. They get one address through SLAAC. Tracepath6 to hosts on the same subnet shows all traffic is direct. ...
0
votes
0answers
13 views

dnsmasq different replies based on source [migrated]

I want to override the DNS configuration for some domains by using dnsmasq so that queries are forwarded elsewhere to be resolved. I can do this with this configuration snippet: ...
1
vote
0answers
21 views

dnsmasq dhcp-range for different access points

Is there a way to configure dnsmasq to hand out IPs from different range to different wireless access points? I have a basic Asus router configured as access point (it does no routing and doesn't run ...
0
votes
1answer
62 views

Enable DHCPv6 in dnsmasq to distribute fixed range IPv6 addresses but failed

Help wanted! I want to create a AP in my Raspbian PI. And i choose dnsmasq as the dhcpv4 and dhcpv6 server. However, my laptop can acquire IPv4 successfully but fail to get a IPv6. Why the dnsmasq ...
0
votes
1answer
84 views

How to automatically add localhost DNS server (dnsmasq) to resolv.conf

I did the steps at https://wiki.archlinux.org/index.php/OpenVPN#DNS to set up DNS with OpenVPN so that anytime the OpenVPN connects or disconnects, it automatically updates /etc/resolv.conf. The ...
1
vote
0answers
15 views

dnsmasq causes “Bad request syntax”

I need to wildcard localhost for dev purpose and I'm really green on dns and network things. With wildcard localhost I mean that I need to test my python and node.js applications with: localhost.dev, ...
0
votes
0answers
161 views

Setting up softether with dnsmasq on aws server

I am following this guide http://blog.lincoln.hk/blog/2013/05/17/softether-on-vps-using-local-bridge/ to setup softether vpn in bridge mode with dnsmasq on an aws ec2 server. I got this working fine ...
0
votes
1answer
13 views

Is it possible to split a domain using dns Bind9

I have a domain (example.com) that the hosts are split in several different networks/places. Most of these hosts are hosted in our office. What i am trying to do is configure a zone that resolves ...
0
votes
1answer
177 views

dnsmasq on virbr0 (libvirt) and network manager

I want to run dnsmasq on my local machine in order to configure a wildcard to resolve to 127.0.0.1 for testing purposes. However, when I went to start dnsmasq with systemd I got the following error ...
2
votes
1answer
43 views

Dnsmasq being used as server's DNS server when it shouldn't be

I have the box's DNS nameserver hardcoded in /etc/network/interfaces with dns-nameservers 8.8.8.8 (I just have to google DNS during testing, using another DNS live.) And then I have dnsmasq ...
0
votes
1answer
103 views

Nova network DHCP not releasing ip with force_dhcp_release=True

The problem I am seeing is that when nova-network calls dhcprelease upon instance termination (due to forcedhcp_release=True) the address is not always released(syslog are not showing DHCPRELEASE ...
1
vote
0answers
159 views

dnsmasq doesn't automatically reload when entry is added to /etc/hosts

I am struggling for a few days to configure dnsmasq to automatically reload or take into knowledge the new hosts added to /etc/hosts or to another configured file /etc/hosts.dnsmasq. Is this even ...
3
votes
1answer
118 views

dnsmasq returns (false) “bogus” result for DNSSEC validation

I'm running a local Debian 8.1 installation with a DNSSEC-validating DNS-Resolver called dnsmasq (version 2.72-3+deb8u1). I set it up to return a SERVFAIL if it isn't able to validate a ...
0
votes
0answers
41 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
44 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 ...
1
vote
1answer
87 views

Forward dns request to another dns server

How can I forward configure my local dnsmasq so requests with hostnames ending with .docker are forwarded to another nameserver, while other requests are still handled locally ? I have looked for an ...
0
votes
0answers
70 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
20 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
1answer
73 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
999 views

Using dnsmasq to service multiple subnets

I'm pretty new to using dnsmasq, and I would like to keep utilizing it in my lab environment. However, being new, I am unsure what commands/files to use. I've spent two days doing research and ...
0
votes
1answer
103 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 ...
1
vote
0answers
74 views

Ubuntu 12.04 Router Firewall TTFB Delay

I use Ubuntu Server as my router/firewall for my network for a number of reasons. Until recently, I was using 10.04 with great success for this purpose. The OS provides DNS lookup and DHCP using ...
4
votes
2answers
971 views

How long does dnsmasq cache dns?

I looked up the man page and couldn't find how long dnsmasq cache a dns. what's the rule for caching and expiration? I am having a problem that request send to an external service sometimes takes ...
0
votes
1answer
78 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
277 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 ...
1
vote
1answer
44 views

DNSMasq Not Respecting Hostfiles [closed]

I have dnsmasq running inside docker under a Fedora 22 Hyper-V guest. I have it configured to read from a directory containing hosts-format files. Yes, I know DNS servers use zones, but dnsmasq ...
0
votes
1answer
2k 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 ...
1
vote
1answer
270 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. ...
-2
votes
1answer
154 views

Bind and DNSmasq conflicting [closed]

I have recently upgraded from Ubuntu 14.04 to 14.10 and finally to 15.04 and now I have big problem in accessing websites. I get the "query refused" when I try to dig google.com and in my resolv.conf ...
3
votes
1answer
497 views

OpenVPN routing: multiple default entries. OpenVPN client: iptables. DNS issues

I'm running an OpenVPN-Server (Debian 8) for privacy purposes when using public wifi. Hence, all network traffic of the client is intended to be handled over the VPN connection. The server and client ...
2
votes
2answers
434 views

Work around windows automatically appending DNS suffix

At my workplace, our IT department manages a DNS server. My department works a lot with websites and to access staging servers we need to have certain domains map to those servers. Personally I just ...
1
vote
1answer
232 views

What is wrong with my simple dnsmasq setup?

I have dnsmasq running on a server (its IP is 10.10.31.22), let's say its hostname is mydns here's the dnsmasq.conf: domain-needed bogus-priv local=/argonath.mydomain.com/ interface=eth0 ...
0
votes
1answer
74 views

Specific host file for interface with dnsmasq

I use a VPN on an interface, e.g tun0 (2.2.2.0/24), while the LAN network is on the interface eth0 (1.1.1.0/24). I use dnsmasq to route specific addresses to my LAN and these addresses have their ...
1
vote
2answers
109 views

Specify destination DNS server based on subnet

Our office subnet is 10.1.10.0/24. I have a gateway (10.1.10.1) that is forwarding DNS requests to a server running DNSmasq (10.1.10.2). I have an IPsec tunnel to our Parent Company's network ...
1
vote
2answers
102 views

dnsmasq adblocking only working server-side

I'm trying to create a server-side adblocking mechanism through dnsmasq, but I only get results on the server itself, not the computers attached to my local network. First of all, my router is the ...
0
votes
0answers
42 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
150 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
2answers
153 views

Routing DNS requests via DNSMASQ [duplicate]

Ubuntu 14.04 | dnsmasq My goal is to setup a catch-all HTTP server using an Ubuntu 14.04 workstation as DNS resolver. I have installed dnsmasq on my Ubuntu 14.04 OS using apt-get install dnsmasq and ...
0
votes
1answer
173 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 ...
1
vote
1answer
414 views

possible to make samba4's internal dns server listen on non-standard port?

Is it possible to make samba4's internal dns server listen on a port other than 53? I need to run two dns server's on this host -- my desire was to use dnsmasq on the standard port for client's and ...
0
votes
1answer
45 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 ...
1
vote
2answers
4k views

How to serve custom dns to dhcp clients in openWrt? [closed]

I would like to serve custom DNS server to dhcp clients. How I can achieve that in openWrt?
2
votes
1answer
223 views

Prevent postfix appending search domain

I have postfix running on OpenBSD, and I'm having trouble with it appending a search domain when none is configured in either postfix or the local DNS server (dnsmasq). My domain has a wildcard CNAME ...
2
votes
1answer
237 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
2answers
520 views

Dnsmasq: Redirect entire domain to localhost only for specific MAC Addresses

I'd like to redirect example.com to the local host, but only for specific MAC addresses. Obviously, specifying address=/example.com/127.0.0.1 in dnsmasq.conf does this for everyone. Is there any ...
0
votes
1answer
213 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 ...
3
votes
1answer
2k 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 ...
1
vote
1answer
295 views

Configure ufw pptpd and dnsmasq on the same server

I've got a an ubuntu 14 server running both pptpd and dnsmasq. I'm having trouble configuring ufw to allow pptp clients to resolve their DNS queries using the local dnsmasq server. I've correctly ...
1
vote
1answer
918 views

Set gateway per interface in DNSMasq

I have dhcp set up using DNSMasq, which looks like this: dhcp-range=interface:eth0,10.1.0.50,10.1.0.250,255.255.255.0 dhcp-range=interface:eth1,10.1.20.50,10.1.20.250,255.255.255.0 What I need to ...
0
votes
1answer
370 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 ...