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

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 ...
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 ...
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
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
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
52 views

Can't connect local server by public domain name

I have my server (Debian Wheezy) in my local home network. On that server I have my own DNS server (dnsmasq) for other local servers (so I can type name instead of local IP) and reverse proxy (nginx). ...
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 ...
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
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
1answer
12 views

How to correctly use dnsmasq with apache?

So I've configured my dnsmasq+hostapd and everything works pretty nice. And I also started apache with two virtual hosts on 127.0.0.1 and 127.0.0.2. My goal is to redirect users from one site to my ...
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
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 ...
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 ...
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 ...
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
1answer
40 views

Distinguish between DNS-requests from local network and internet

I am using DNSmasq both for my local clients and some internet services. One service I provide is a dynDNS server. It receives IP updates via HTTP and writes it as simple hosts file but without domain....
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
1answer
123 views

How to stop dnsmasq from adding ISP DNS servers to a VPN connection?

This is Ubuntu 15.10. The following lines from the log happen when connecting to the VPN: dnsmasq[983] setting upstream servers from DBus dnsmasq[983] using nameserver 1xx.xxx.xx.xx#53 <-- ...
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
1answer
58 views

dnsmasq different replies based on source

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: server=/msecnd.net/...
0
votes
1answer
136 views

Can I use /etc/hosts file to block ads when using Ubuntu 14.04.3 OpenVPN server?

I have an OpenVPN server hosted on Digital Ocean. I've uploaded a hosts file to the server to help filter a lot of unwanted domains. When using the server, it filters the domains. However, when I use ...
0
votes
1answer
57 views

iptables: is it possible to combine “string” and “mac” modules results?

I have a raspberry pi running dnsmasq. I configured all my local devices to use this device to resolve DNS queries. I like to block certain devices using their MAC address from certain queries. ...
3
votes
2answers
67 views

How do I figure out what's caching the DNS for a specific domain?

I'm using linux (openSUSE 13.2) on my computer and my router is DD-WRT. There is a domain that, when I ping, keeps returning the wrong IP address. My Router has the domain name server as Google's 8.8....
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 ...
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 ...
0
votes
1answer
172 views

Wi-Fi access point with login page

Currently I'm using hostapd and dnsmasq. And I want to add something like login page: user connects to ap, opens any site and my wifi/dns-program automatically redirects him to the login page till he ...
0
votes
1answer
39 views

Wifi interface ask the gateway about an address located on a totally different (and private) network

Initially fighting against DNS Leak, for both knowledge and privacy, I end with a computer that asks the FAI box for a local address located outside of its scope (another network)... I've spend hours ...
0
votes
1answer
136 views

Disable or change port of ASUS RT-AC56U DNS server

I need the outside facing UDP port 53 of my ASUS router for something else than a DNS server. Here is what i have tried so far: Look for a setting in the GUI, i cant find one. Tried editing /etc/...
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 ...
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
1answer
797 views

How to prevent local host name resolving from DHCP names in OpenWRT/dnsmasq

I have OpenWRT 14.07 running on my home router. It has DNS and DHCP services enabled for the local LAN devices. However, this also "leaks" the name of each device connected to the router, even if ...
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 ...
-2
votes
1answer
136 views

DNS host name not resolving without http:// prefix

I am using DnsMasq on raspberry pi. On the /etc/dnsmasq.conf configuration is as follows: interface=eth0 domain-needed bogus-priv strict-order addn-hosts=/etc/hosts.dnsmasq And the /etc/hosts....
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 ...
0
votes
1answer
159 views

DNS for home network with dnsmask: doesn't change IPs

I've got a home network: three hosts on OS X and printer. All the devices are wireless and connected into a network via Actiontech T1200H router which is also provides internet. One computer(MacPro) ...
0
votes
1answer
517 views

How do I simulate a DNS server returning a SERVFAIL in response to a A query?

Goal When an A query returns an NXDOMAIN response, my java app throws an UnknownHostException. I would like to know if a SERVFAIL response from DNS servers caused java to throw this error as well. ...
0
votes
1answer
68 views

How can I bypass dns for one hostname on one wifi network

I'm a complete beginner when it comes to network administration, and am trying to speed up a connection when possible. I have a service on my laptop configured to connect to my server over the ...