Questions tagged [dnsmasq]

dnsmasq is a lightweight DHCP, DNS and TFTP server application for *nix platforms intended for use on small and home networks.

425 questions
1
vote
1 answer

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 dhcpd of its own) with address 192.168.10.2 and…
Budric
  • 213
  • 1
  • 3
  • 6
1
vote
0 answers

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, test.localhost.dev, etc. I've followed this…
nkint
  • 153
  • 5
1
vote
0 answers

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 DNSMasq. I recently set up a new install with…
Jerbot
  • 394
  • 2
  • 3
  • 12
1
vote
2 answers

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 Consul in order to resolve the hostnames of…
1
vote
2 answers

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. It is also observed that although repetitive DNS…
mav_2k
  • 141
  • 1
  • 3
  • 8
1
vote
2 answers

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 (10.2.2.0/24). In the resolv.conf on 10.1.10.2, I've…
1
vote
2 answers

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 default DNS server, so I have to setup all my…
Jeez
  • 13
  • 2
1
vote
2 answers

Dnsmasq: Redirect entire domain to localhost only for specific MAC Addresses

I'd like to redirect example.com to the local host, but only for specific MAC addresses. Obviously, specifying address=/example.com/127.0.0.1 in dnsmasq.conf does this for everyone. Is there any way that say MAC1 will be redirected to localhost,…
mbauer14
  • 121
  • 3
1
vote
2 answers

URL logging on DNS server?

Following this setup http://www.g-loaded.eu/2010/09/18/caching-nameserver-using-dnsmasq/ I was able to configure a DNS resolver server using dnsmasq for my network. The setup works correctly and logs DNS name resolution. I would like to make this…
iTech
  • 355
  • 4
  • 15
1
vote
2 answers

Are there other Dnsmasq type programs that can return client specific tables?

We are using Dnsmasq, we have several entries that are working well. What we are looking for is to return a different config file for specific ip addresses. i.e: When ever ip 1.2.3.4 connects, it will use this…
Kladskull
  • 1,255
  • 5
  • 15
  • 32
1
vote
1 answer

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. default 84da0678-e56d-8fc2-6f8b-e8eba784849a
gunsmoke
  • 51
  • 2
  • 5
1
vote
1 answer

NSLookup resolves to local DNS, but browser resolves to public

Problem When trying to access internal servers via hostnames using NSLookup (both Windows & Linux/Arch/Debian) I receive the correct DNS server address, FQDN and destination IP address. When I try to access the same server using a browser or PING, I…
1
vote
0 answers

OpenVPN private domain unsing DNSMasq

What I want to do is to set up OpenVPN network which would make it possible to access private domain ( a.domain, b.domain, d.domain). I believe the simplest way to do it is to use dnsmasq to resolve domain to 10.8.0.1. It seems to be working fine on…
Indig0
  • 11
  • 1
1
vote
2 answers

DNSMasq wildcard top level domain/suffix

I'm running DD-WRT on my router and I need to block certain websites and all their potential suffixes, is that possible or would I have to list them all out individually? What I have is this address=/blockedomain.com/127.0.0.1 And then subsequent…
regularjoe
  • 119
  • 1
  • 2
1
vote
0 answers

Configuring dnsmasq to properly work with mod_rewrite on Mac OS X Mountain Lion

I desperately need help. I read an article on the echoditto blog (http://www.echoditto.com/blog/never-touch-your-local-etchosts-file-os-x-again) and followed the recommendations for setting up dnsmasq on my mac using homebrew. Now I am having an…