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

1
vote
1answer
2k 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". ...
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
2k 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
2answers
41 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: ...
3
votes
2answers
3k 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 ...
4
votes
2answers
9k 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 ...
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
57 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 ...
3
votes
1answer
116 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
1answer
79 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
1answer
97 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 ...
0
votes
0answers
150 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 ...
1
vote
2answers
108 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 ...
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 ...
1
vote
1answer
267 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
1answer
170 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
42 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 ...
1
vote
0answers
146 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 ...
0
votes
0answers
40 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 ...
2
votes
4answers
6k 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 ...
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 ...
6
votes
2answers
3k 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 ...
1
vote
1answer
83 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 ...
-1
votes
1answer
949 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 ...
4
votes
2answers
931 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
101 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
73 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 ...
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 ...
3
votes
2answers
8k 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
272 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
72 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 ...
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 ...
0
votes
1answer
232 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.
-2
votes
1answer
150 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 ...
5
votes
5answers
6k 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 ...
3
votes
1answer
492 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
1answer
221 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
2answers
419 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
228 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 ...
1
vote
2answers
101 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
148 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
152 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 ...
4
votes
2answers
2k 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 ...
0
votes
1answer
170 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 ...