Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP server. It is designed to provide DNS and, optionally, DHCP, to a small network.

learn more… | top users | synonyms

3
votes
1answer
2k views

how can I combine dnsmasq and urlblacklist?

Is there a way to integrate dnsmasq and the popular urlblacklist.com list? I thought about adding all the entries with the -A flag, but that's a lot of hosts for dnsmasq to process, especially on a ...
2
votes
1answer
129 views

No connection between devices in local network

I have home server that also works as router (gateway). It has 2 interfaces one for internet (enp4s0) and another (enp4s1) looks into local network. All devices from local network uses internet from ...
2
votes
1answer
790 views

Create alias to local hostname

I have the following scenario: A host machine (OS X) and a guest machine (Ubuntu). The guest is running through Virtual Box, and the network configurations is set to "Bridged adapter". Both machines ...
1
vote
1answer
921 views

OpenWRT router's dnsmasq settings block lan name resolution?

I have a version 15.05 OpenWRT router which is a member of a local network. This network has its own DHCP and DNS servers which dnsmasq should automatically use for domain name resolution. However ...
1
vote
1answer
153 views

Native IPv6 on Debian Router

After my old Tomato USB router died I started using an old netbook with Debian Wheezy installed as my home router. I have two WLAN interfaces and one LAN interface. wlan0 has internet access and wlan1 ...
1
vote
1answer
817 views

Two DNS servers, one Windows, one Linux

I've got an issue with my home network - I have a DDWRT router running as a gateway and primary DHCP/DNS Server on 192.168.1.1 and a Windows Server 2008 machine running as a domain controller and ...
0
votes
1answer
26 views

OpenWRT dnsmasq: possible DNS-rebind detected

I have a problem since I use a new router (TP-Link WDR4300 + OpenWRT BarrierBreaker) and in the System log is full of this periodically: <Timestamp> dnsmasq[2524]: possible DNS-rebind attack ...
0
votes
1answer
32 views

Can dnsmasq resolve specific domain by more than one server?

Consider company compx has the domain compx.com and without special configuration, dnsmasq can resolve computers in this domain just fine. Now I log into the VPN of compx.com with vpnc. Instead of ...
0
votes
1answer
190 views

OpenWRT Chaos Calmer 15.05 DNS forwarding, custom DNS Server, DHCP option - nothing works

Okay, so essentially I'm trying to only forward one very specific address over one of those geo unblock dns proxy services. Namely Pandora.com. Don't judge, I like their raido stations better than ...
0
votes
1answer
60 views

Dynamically resolve hostname to multiple, prioritized IPs

I have a linux server connected to a VPN. At home, I use the same VPN on my laptop, while connected to the server directly through a wireless router. To do this, I have two entries in my /etc/hosts ...
0
votes
1answer
74 views

Connected to hostapd hotspot but no Internet

I'm setting up a Gentoo Linux home router with following configuration: eth0: connected to WAN (managed by systemd-networkd) wlan0: access point for LAN (managed by hostapd) I use dnsmasq as DNS ...
2
votes
0answers
420 views

Windows 7 DHCP flooding server with requests

Am attempting to connect a Windows 7 laptop to a Debian server running dnsmasq. The Windows 7 machine doesn't seem to like the DHCP info it's getting as it re-requests it every ~10 seconds. The log ...
2
votes
0answers
378 views

Using dnsmasq on OS X when not connected to the Internet

I'm routing dns requests through dnsmasq so that domains I'm using for local development point to 127.0.0.1. This works great when I'm connected to the Internet via Wi-Fi or ethernet, but I start to ...
1
vote
0answers
21 views

RADVD for IPv6 assignement, DNSMasq for DHCP handing out DNS for IPv6 clients - how to do?

As you know, Windows does not support setting up DNS via Router Advertisements (RDNSS) for IPv6. So it should use a DHCPv6 server to somehow get the needed address. I'm using DD-WRT on my router ...
1
vote
0answers
18 views

How to set up dnsmasq on PC to mimic router's comfort functions?

I want to move the DNS functionality from my router to a PC running dnsmasq on the network. The basic setup is up and running, but I am missing the following functions the router had implemented: ...
1
vote
0answers
76 views

How to configure dnsmasq to send DNS server Info via DHCPv6

There is a known problem with a IPv6 Windows Client that it does not accept the DNS Server Info sent by Server via Router Advertisements, even though the IPv6 address assignment works. DNS Server ...
1
vote
0answers
45 views

Set proxy while sharing internet from dnsmasq server

I have a raspberry pi from which I am sharing internet to other hosts connected to it. Raspberry pi has internet connection on "wlan0" and other hosts are connected to "eth0". I have installed ...
1
vote
0answers
47 views

DD-WRT DNSMasq Stops working when advanced options entered

I used the suggested version for my router and the latest beta and in both cases with Local DNS enabled, Used Domain Set to Lan AND WLAN and domain set accordingly everything works fine. However I ...
1
vote
0answers
210 views

how to pick addresses and DNSMasq server for PPTP VPN client (in DD-WRT)?

I must be confused about terminology for addresses my remote network uses, but I could not get my DD-WRT (build 20548) connect to the PPTP server. At least I could not even verify that I am connected (...
1
vote
0answers
176 views

dnsmasq doesn't get udp queries

I'm trying to setup dnsmasq on debian box to serve in my local network. dnsmasq seems to work. It listens on 53 port UDP and TCP. It answers queries (nslookup or dig) locally, but when I try to query ...
1
vote
0answers
87 views

Ask dnsmasq the hostname used to find to an IP address

I know I can find a DNS name from an IP address by using a reverse translation DNS query. But that just gives me a DNS name for that IP. Instead, I'd like to find the DNS name that was used to find ...
1
vote
0answers
722 views

Windows not recognizing local network domain name

I'm setting up a small network for a club that I'm a member of. The layout is a single server with two ethernet interfaces, connected to a wireless router and a wireless bridge. The bridge connects to ...
1
vote
0answers
283 views

Send local IP from VPN instead of remote IP

I'm trying to setup a server with L2TP and Apache. Some folders in the Apache config will only be accessible to those connected to the VPN. I do know that I can use the allow and deny rules with the ...
1
vote
0answers
1k views

IPv6 addresses in dnsmasq

As I need to use dnsmasq to route all requests on *.local to my local machine (and use there an IPv6 addresses), i set up the dnsmasq like this: /etc/dnsmasq.d/my-local.conf address=/local/::1 ...
0
votes
0answers
20 views

linux - using built-in dnsmasq's tftp server transfer sample file to dhcp client

When dhcp client contacts dnsmasq's dhcp server to assign ip address, is there a way to transfer some file to dhcp client using built-in tftp server? dnsmasq.conf file contains following tftp related ...
0
votes
0answers
31 views

How to get DNSMasq to use remote (OpenVPN) DNS on DD-WRT router?

I have a DD-WRT router with an OpenVPN client. I'm trying to configure the local DNS server on the router to use the DNS server pushed by the OpenVPN server, via the OpenVPN tunnel. Here's what I've ...
0
votes
0answers
16 views

dnsmasq to provide public DNS service

If I'm to provide DNS service to the public using dnsmasq, how to set the listen-address? I changed mine from 192.168.1.1 to 0.0.0.0 and it stops working: $ cat /etc/dnsmasq.d/public.conf # listen to ...
0
votes
0answers
37 views

dnsmasq requires a restart of the networking system on BeagleBone Black (Debian 8.5)

I am currently trying to configure a BeagleBone Black running debian 8.5 as a WiFi Access Point. The programs used are hostapd and dnsmasq. I've made huge progress, in principle the access point is ...
0
votes
0answers
23 views

Redirecting wildcard domain to local ip address

I try to have my local workstation redirect a complete wildcard subdomain to a specific ip address. I run VirtualBox on my CentOS 7.2-1511 which provides a VM on 192.168.11.11 (for those interested: ...
0
votes
0answers
80 views

How do I disable a router-assigned IPv6 DNS server?

I am using dnsmasq on a network as a DHCP and DNS server. The DNS service is required in order to resolve names of hosts internal to the network. However, when interfaces supporting IPv6 configure ...
0
votes
0answers
94 views

Bypass DNS hijacking (Transparent DNS Proxy) with DNSMasq

So my ISP is blocking some site left and right, changing the DNS manually is not working due to Transparent DNS Proxy. The workaround is possible by installing DNSCrypt in my computer, however not ...
0
votes
0answers
34 views

Why does dnsmasq return different first answers

I'm running a local server with dnsmasq and unbound. The unbound is listening on 127.0.0.1:5300 on the server network.local. The dnsmasq is listening to 0.0.0.0:53 and has a config line stating server=...
0
votes
0answers
31 views

dnsmasq; log querying process

I'm running dnsmasq in development and found that something on my laptop is putting forward queries for randomly generated domain names. Hence I'd like to display the PID/lsof -p output of the process ...
0
votes
0answers
63 views

Hostname resolution with DNSMasq on DD-WRT

I have been running a DD-WRT router with DNSMasq as my DHCP server and DNS for a long time. I had thought it was working well until I began to investigate some quirks which I thought had resulted from ...
0
votes
0answers
22 views

dnsmasq not picking up requests

I recently bought a new smart TV and I'm trying to proxy all requests from it through my laptop. My setup is this: [TV] -> ethernet cable -> (enp0s25)laptop -> router -> internet My TV is connected ...
0
votes
0answers
12 views

Why am I not able to ping any host?

I'm running AP with hostapd and dnsmasq. Here's my dnsmasq.conf cache-size=0 port=53 domain-needed server=8.8.8.8 no-resolv no-hosts interface=wlan1 bind-interfaces dhcp-lease-max=640 dhcp-range=10.0....
0
votes
0answers
12 views

Dnsmasq strange behaviour

I'm running AP with hostapd and dnsmasq. Here's my dnsmasq.conf cache-size=0 port=53 domain-needed server=8.8.8.8 no-resolv no-hosts interface=wlan1 bind-interfaces dhcp-lease-max=640 dhcp-range=10.0....
0
votes
0answers
111 views

Raspberry Pi Captive Portal

So there is a lot of information out there about Captive portals, a little less for the RPi. To put it simple, I'm not able to get it working. What I'm looking for specifically is getting a pop-up ...
0
votes
0answers
29 views

dnsmasq not resolving local domain

I'm trying to run dnsmasq for having a domain in my local network. The ns lookup results in nslookup mydomain.com Server: 192.168.0.100 Address: 192.168.0.100#53 ** server can't ...
0
votes
0answers
32 views

DHCP: Temporarily Reserve An IP to A specific Mac or machine for a specifc time

I m using OPENWRT DNSMASQ/ every machine should have a Dynamic IP.(it is OK) after that he gets a captive portal page to enter credentials. ( it is done too) Question is If credential is ...
0
votes
0answers
16 views

Configure dnsmasq to allow certain external hosts

This is probably (really really) easy, but I can't seem to figure out how to tell dnsmasq to allow non-local connections from a certain list of IPs. In general it should only be used on the local ...
0
votes
0answers
138 views

Pass the ISP DNS to your DHCP clients on OpenWRT

Basically I need my DCHP clients to have their DNS pointing to the ISP ones rather than pointing to the OpenWRT/Router's IP. On (latest) DD-WRT, you can check the option to disable DNSMasq local DNS, ...
0
votes
0answers
180 views

dnsmasq: Redirect all urls * except* one

I have the following situation: Inside my LAN, I want to redirect all traffic going to http://*.mydomain.com to one of my internal servers (10.0.0.17). The only exception is http://mail.mydomain.com,...
0
votes
0answers
7 views

Dnsmasq syntax errors

In the file where I have my IPs and corresponding domain names for dnsmasq, when the domain name is www.something.something it works; but when it is just something, it doesn't work, and the query is ...
0
votes
0answers
19 views

Map subdomains and path to localhost?

For a particular development task, I need this mapping to happen: mysub.myservice.com/a/b/* -> localhost/* mysub.myservice.com/anything else should route as normal. What is the simplest way to ...
0
votes
0answers
81 views

Wildcard DNS with libvirt/dnsmasq

I've seen, that when a network gets created all guests in that network get "guestname.networkname" as a hostname by dnsmasq. I need to get another A-Record with "*.guestname.networkname" pointing to ...
0
votes
0answers
97 views

Change dnsmasq from .dev to .local

I originally tried asking this question on apple.stackexchange.com, but I think it may be a bit beyond the scope of being just for macs (and therefore more of a server config issue), so had no ...
0
votes
0answers
177 views

How to get DD-WRT (dnsmasq) to serve DNS but *not* DHCP?

I want to configure a DD-WRT router just for local DNS resolution of a few names, and then fall back to my ISP's DNS server. I am using a separate router, the sole purpose of this DD-WRT router is as ...
0
votes
0answers
2k views

Dnsmasq running on raspberry pi will serve non-local DNS to ethernet but not wireless hosts

I have a Linksys WRV200 wireless router. I have just added a raspberry pi, connected via ethernet, working as a DCHP server and caching DNS server. Dnsmasq also serves local domain names. Dnsmasq ...
0
votes
0answers
483 views

dnsmasq returns 127.0.0.1 for lookup itself

This is a follow up to the question, Ping to dnsmasq's host resolvesto 127.0.0.1, because that answer doesn't work for me. It should work -- I found another one having the same answer: https://...