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
8 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
29 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 ...
1
vote
0answers
6 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
44 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
45 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
30 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 ...
0
votes
0answers
28 views

dnsmasq pass a url using dhcp option 43

I have been reading the documentation of dnsmasq and different examples found on internet but I have been unable to succeed. I am trying to pass a URL to the CPE using dhcp option 43. The CPE is ...
0
votes
0answers
14 views

How to redirect, ignoring path in url.com/path/path

In dnsmasq.conf, I redirect any domain url to an IP. If I enter "url.com/path/path", I get redirected to "IP/path/path". How can I redirect to IP only ? // NB : If I manage to work it out, I guess ...
0
votes
1answer
54 views

Secure dnsmasq dns daemon with whitelist

I'm using dnsmasq on a server (bound to wan IP) and would like to add an acl/whitelist for ip ranges/ip address allowed to resolve dns using my server. I can't seem to find anything from Google, is ...
0
votes
0answers
57 views

hostapd & dnsmasq Obtaining IP forever

I'm trying to set up a wireless access point using hostapd and dnsmasq but I can't get it to work. The AP works, but when I try to connect to it gets stuck on "Obtaining IP address". I see the ...
2
votes
2answers
148 views

making dnsmasq listen on only one interface

I have dnsmasq running on a raspberry pi w/Raspbian. The pi has a wifi stick on wlan0 and is connected to the local network/internet on eth0. My goal is to have dnsmasq resolve all hosts to the pi's ...
1
vote
1answer
223 views

Redirect all http & https requests with lighttpd

I have a spare Raspberry Pi so I decided to check out PirateBox. I have it all working however the default behaviour is to not redirect https requests. Given the PirateBox will be never connected to ...
0
votes
0answers
55 views

DNSMASQ redirecting LAN user to webserver but this doesn't work on wifi

Iam trying to create wifi captive portal on raspberry pi so i've installed nginix server and DNSMASQ,after using dnsmasq for traffic redirecting it works only on LAN but not on WiFi..? how would i do ...
0
votes
1answer
33 views

How to share names with dnsmasq?

I have two subnets A and B, and their respective name servers both forward queries to local name server M, which finally forwards queries to the internet. All name servers run dnsmasq. On both ...
1
vote
1answer
401 views

resolv.conf keeps getting overwritten when dnsmasq is restarted, breaking dnsmasq

I'm running Debian Jessie and I'm trying to configure dnsmasq as a caching DNS server. I used a guide to come up with the following /etc/dnsmasq.conf: listen-address=127.0.0.1 bind-interfaces ...
0
votes
0answers
54 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
72 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 ...
1
vote
1answer
97 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
103 views

Running ipv6 tunnel on windows 7 alongside local dns server

I am running an IPv6 tunnel via Hurricane Electric in Windows 7, which has been working fine for ages. My router does not support IPv6 at all natively. I am also experimenting with running a local ...
0
votes
1answer
288 views

Locate Host Name on LAN with DNSMasq

I am running DNSMasq as both my DHCP and DNS server on my DD-WRT router. I had thought that DNSMasq was adding hosts that it registered in DHCP to the DNS server automatically, but I have a few ...
0
votes
0answers
90 views

LAN access to home server using dnsmasq

I set up an OwnCloud server on a Raspberry Pi. To access it easily, I used a dynamic dns solution which points to my public IP. Every port is open and it works just fine when I access the server ...
0
votes
1answer
27 views

Restarting BIND service getting error

When I restart the BIND service getting this error from syslog named[4960]: /etc/bind/named.conf:15: couldn't add command channel 127.0.0.1#953: address in use Even when I execute nslookup ...
0
votes
0answers
65 views

Using local DNS server in offline mode

Using OS X Yosemite I have dnsmasq running locally and it works great while I'm connected to a wireless network. However, once I go to adhoc mode or offline mode, the OS refuses to use any DNS ...
0
votes
1answer
220 views

dnsmasq: DNS request timed out for machines in local network

I have a vagrant machine running on my mac with virtual hosts I want to make available to my local network. I installed dnsmasq via brew and have the following in its /usr/local/etc/dnsmasq.conf: ...
0
votes
0answers
96 views

Own DNS is very slow

I run my own DNS with Ubuntu 14.04 and dnsmasq on a VPS of my hosting provider. If I enter the DNS address in the network adapter on my windows machine, websites load very slow. It takes less than a ...
0
votes
1answer
28 views

Custom entry in hosts file not directing to correct IP

I have an entry in my local hosts file pointing to: $my-server-ip development.$client-domain.com When I ping development.$client-domain.com, I get $server-ip, but when I visit it in a browser, I do ...
1
vote
0answers
231 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
1answer
572 views

dnsmasq not working without internet connection in OS X Yosemite

No0b here. I have been trying to setup a local environment for web development on OS X Yosemite using these approaches (http://passingcuriosity.com/2013/dnsmasq-dev-osx/ and ...
0
votes
1answer
1k views

Using dnsmasq to address machines by name and resolve external hostnames

I'm having some trouble with my dnsmasq setup. All I want it to do is resolve certain hostnames to certain ip addresses for any machine on my network. More specifically, I'm trying to enable all ...
0
votes
0answers
30 views

dd-wrt internal dns resolves directly for a few hosts, with a “.” for a few hosts

I have a dd-wrt router, and a bunch of static leases. The machines themselves all acquire IP through DHCP. When I do a "nslookup host1" or "nslookup host2" the correct IP address is displayed. All ...
0
votes
0answers
36 views

Maximum clients with USB hotspot

I already asked this in "Unix & Linux" StackExchange forum, and they suggested me to ask the question here instead. So, here i am! I made a small access point using Hostapd, Dnsmasq and Debian ...
1
vote
1answer
3k views

How do I configure DNSMasq on DD-WRT when using Active Directory?

I have a server running Windows Server 2012R2. It is a domain controller. I have a router running DD-WRT version DD-WRT v24SP2-EU-US (08/19/10) std (SVN revision 14998). The router is configured with ...
0
votes
0answers
82 views

How to configure dnsmasq to work with vmware fusion?

I am trying to set a local development environment in which every .loc domain will default to my ubuntu vm running with vmware fusion. Currently I have to add every domain in my /etc/host like ...
1
vote
1answer
98 views

Block (nullroute?) an IPv6 hostname using /etc/hosts

I'm trying to prevent my web browser from communicating with certain hosts (mostly ads and tracking). I have a list of such hosts in my /etc/hosts file. For IPv4 I can do: 255.255.255.255 ...
0
votes
0answers
141 views

hostapd virtual wlan interface no ip from dnsmasq

I have installed hostapd and also dnsmasq to ppovide dhcp only. On the virtual interfaces i do see the ssid and all. So hostapd seems to work fine( although i am not sure). When i try to connect to ...
1
vote
1answer
68 views

dnsmasq circular loop error

I know I am missing a configuration somewhere, but I just can't find it. I have two routers, A is upstream of B, both running dnsmasq. A has domain A.com B has domain B.A.com A has in dnsmasq.conf ...
0
votes
1answer
2k views

Cannot access internet and local DNS server using OpenVPN on DD-WRT router

I tried to setup Dnsmasq and OpenVPN server on my DD-WRT router. My goal is to connect to my dd-wrt (v24-sp2 (03/25/13) mega) router via openvpn and: use my local resources, address to them using ...
0
votes
1answer
117 views

dd-wrt translates DNS queries sent from LAN from public IP to private IP – how to stop this?

I recently got a router that has dd-wrt firmware installed into it. I'm running a HTTP server behind that router, and as it has a NAT, I have set the appropriate port forwardings. I also have a ...
1
vote
3answers
800 views

dnsmasq not working to point .local addresses to 127.0.0.1

I'd like to get .local addresses (such as test.local) to point to 127.0.0.1 but it isn't working. I'm on latest Ubuntu. In /etc/NetworkManager/NetworkManager.conf I commented out dns=dnsmasq then did ...
1
vote
0answers
164 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
108 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 ...
0
votes
0answers
71 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
votes
1answer
55 views

configure my router to translate “example.com” to a website's IP

Is possible to confingure my router to translate certain domain names ex:"example.com" to a specified website's IP ex:"173.194.32.23" ??? I have a Sitecom Modem Router N300, and there are a lot of ...
1
vote
1answer
424 views

Domain Resolving To Wrong IP Using DNSMASQ

I have two VMs, one with my application which talks to the other vm running asterisk (and centos). The config for the application server needs to point to the asterisk box. To avoid having to change ...
2
votes
1answer
517 views

reverse usb tethering in strict dns environment

In the environment, all DNS query is blocked by firewall. And wifi or 3G is not allowed I want to let a rooted Android(192.168.42.2) accessing internet by plug usb on PC(192.168.42.1 for usb0 ...
9
votes
2answers
4k views

Why is Chromium bypassing /etc/hosts and dnsmasq?

I'm using hostsblock together with dnsmasq on Arch Linux to block some websites, one of them is facebook.com and www.facebook.com. I know everything is working properly because a simple ping to ...
0
votes
1answer
221 views

dnsmasq - Redirect URL request to guest VM

I am running Linux Apache on my local Parallels VM as a guest, my goal is: redirect an URL request (http://test.dev) from host (OS X) to Linux Guest. I had a local dnsmasq setup with MAMP (which ...
0
votes
1answer
142 views

Computer on home network resolves host name to different IP addresses

I have a computer on my home network that is also accessible from the internet through a dyndns host name. When I am at home, I need the xxx.dyndns.org host name for my machine to resolve to an IP on ...
0
votes
0answers
1k 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 ...
2
votes
1answer
5k views

DD-WRT: dnsmasq headaches with static hosts

I am using dd-wrt (r23503, for the record) on my new Asus RT-AC56U router. Unfortunately, dnsmasq configuration is giving me nothing but headaches. Here's what I want: DNS queries from the ...