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
0answers
11 views

Use Windows RSAT DHCP Server MMC SnapIn with Linux Samba 4 AD to manage dnsmasq/isc-dhcpd

This particular Active Directory installation uses a Samba 4 Domain Controller Forest running on up2date (05-2016) Debian Linux Jessie VMs. Remote Server Administration Tools (RSAT) are used from ...
0
votes
0answers
5 views

How to tag requests for a specific interface?

I will have a WiFi access point (wired to eth0) which will broadcast two SSIDs. Each of them will be in its own VLAN, and each of these VLANs will be defined on eth0 as eth0:10 and eth0:20. I would ...
0
votes
1answer
14 views

Redirection or Name server addresses

I asked my new webhost: "I need my domain languagematerial.com to point to my new host: http://languagematerial.altervista.org/ so I must know which are the name server addresses in altervista. I ...
2
votes
0answers
36 views

DNS forwarder that always resolves [closed]

I would like to set up a basic DNS forwarder that does two things. First, it simply forwards DNS queries upstream. Second, if the upstream DNS servers can not resolve a hostname then this DNS ...
0
votes
1answer
16 views

Separate Servers for TFTP and DHCP for PXE Boot

This seems like it should be simple, but I can't find any actual information: Is it possible to have two separate servers, one running dnsmasq doing DHCP while the TFTP (or HTTP) server is running on ...
0
votes
0answers
12 views

How do I redirect connections to a local mailserver in fail case to a online mailserver (with dns?)

Situation: I administrate a small business network (10 employees) with a bad internet connection (satellite, limited traffic volume, weather-dependent), so some services like mailserver are organized ...
0
votes
0answers
32 views

dnsmasq use LAN ip for resolvable LAN hosts, forward to external DNS otherwise?

This may be a duplicate but I was unable to find the exact answer, so I apologize in advance if it is. I have a dnsmasq instance running on my router, as well as some hosts which are accessible on ...
2
votes
0answers
21 views

DNSMasq lookup dns for domain by interface

I have DD-WRT running dns-masq to use different name servers for a wireless access point. I want to take this one step further but I can't seem to get it working. My current setup (which works ...
3
votes
1answer
67 views

Does a Windows host correctly interpret dnsmasq parameters?

I have a network of Windows 10 machines served (DNS and DHCP) by a dnsmasq instance on a Ubuntu server (Ubuntu 15.10, dnsmasq 2.75). The setup basically works (dnsmasq provides addresses and manages ...
0
votes
0answers
42 views

configure host to use private DNS server when result is not found?

Is there a way to configure a Linux host to resolve hostnames using a primary DNS server but if the result is not found, resolve using a secondary DNS server? The reason is that I have some hosts ...
0
votes
2answers
52 views

How to discard a DHCP request's old IP address (and provide a new one)?

I switched from a 192.168.0.0/24 network to 10.10.10.0/24. The addresses are provided by dnsmasq-dhcp. The switch went fine for all devices but one - a printer (called PRINTER). This printer was ...
-2
votes
1answer
192 views

dnsmasq failed to restart

Whenever I want to restart dnsmasq service, I receive this error root@ipm:/tftpboot# /etc/init.d/dnsmasq restart [....] Restarting dnsmasq (via systemctl): dnsmasq.serviceJob for dnsmasq.service ...
0
votes
0answers
13 views

Double DNS resolution at Squid proxy

I wanted to check if anyone faced this scenario or not. Any input if someone can share greatly appreciated. Following is scenario:- I have set of workstations are accessing internet directly but for ...
1
vote
2answers
65 views

Regular expression in not working in dnsmasq config

I have dnsmasq version 2.66 installed on CentOS. As per release notes, dnsmasq supports regular expressions starting 2.60 I have following enty in my config file: ...
-1
votes
1answer
63 views

Captive portal with iptables and local dns server

I'm trying to redirect all the browser's requests from my wifi interface wlan1 to a captive portal. I have a node web server running on my target on 10.4.30.34:4040. It has to redirect the browser ...
0
votes
0answers
62 views

Custom captive portal on Android

I'm trying to setup a captive portal system with Dnsmasq. Basically when a user connects a device to my network, I redirect all request to my webserver. On iOS it is working fine but I have a problem ...
0
votes
1answer
111 views

dnsmasq proxy mode and efi boot

So, I already have DHCP server in my local network. But I want to setup new VMs with network boot (PXE). I've setup dnsmasq in proxyDHCP mode to provide PXE info to booting clients while using other ...
1
vote
2answers
107 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. ...
1
vote
0answers
37 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
211 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
155 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
18 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
322 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
432 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
54 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
219 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
410 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
193 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
55 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
63 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
121 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
82 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
23 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
94 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

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
123 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
91 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
2k 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
89 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
379 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
46 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
3k 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
327 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
218 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
590 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
642 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
346 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
87 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
128 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 ...