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
2 answers

Securing dnsmasq - interface(s)?

Im preparing to deploy about a thousand fanless machines running Debian. Each machine has 3 interfaces (eth0, eth1 and uap0). In many cases these machines will sit between a cable modem and a home router / network so I need to be transparent between…
ethrbunny
  • 2,369
  • 4
  • 41
  • 75
1
vote
2 answers

Most DNS queries for TLDs do not pass through dnsmasq

Most DNS queries for top-level domains from my LAN behind a router with dnsmasq 2.55 on OpenWRT 10.03.1 return negative results, e.g.: $ dig com. ANY ; <<>> DiG 9.7.3 <<>> com. ANY ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode:…
mykhal
  • 183
  • 1
  • 1
  • 10
1
vote
2 answers

Is it necessary to set: default gateway = DNS?

I'm working on the configuration of my test network. what are the advantages of a network configuration, by which default gateway = DNS?
msh
  • 221
  • 3
  • 5
  • 11
1
vote
1 answer

Is using wildcards for hostnames in dhcp module of dnsmasq possible?

I want to have all machines with a hostname that starts with foobar- assigned an IP from a specific range with an infinite lease. All other machines should have a volatile IP. I did the following but the configuration file was not…
Openhair
  • 11
  • 1
1
vote
1 answer

Replacing stock dnsmasq with optware dnsmasq

This question if for DD-WRT installed on e3000 with optware. I have replaced the stock dnsmasq to get logging, using this: http://www.dd-wrt.com/phpBB2/viewtopic.php?p=660694 I installed optware on my 16gb usb and installed dnsmasq. Runs fine when…
PH.
  • 131
  • 1
  • 6
1
vote
1 answer

dnsmasq TFTP, GNU/Linux workstation, DHCP not responding

I'm attempting to get a TFTP server working, from my workstation. I've actually attempted this multiple times, never succeeded. I've setup real tftp from a router, but my home router is nothing close to a cisco. I'm forced to do this from my…
J. M. Becker
  • 2,471
  • 1
  • 17
  • 21
1
vote
2 answers

Dnsmasq Configuration for OpenVPN

I'm trying to configure an OpenVZ VPS running Debian 6 to run OpenVPN. I've got OpenVPN running, and I can connect to it, but my traffic isn't passing through yet. I get an error when dnsmasq start, and I'm not sure how to resolve it. Here's the…
Lenwood
  • 184
  • 1
  • 11
1
vote
1 answer

Pings not answered when IPv6 Support enabled in Windows 7 Ultimate 64-bit

I have Dnsmasq configured on my network to give names to various IPv4 IP addresses on the network. Pinging the other machines using their DNS names work fine when I have just IPv4 enabled on my client Windows 7 Ultimate 64-bit machine, but when I…
leeand00
  • 4,869
  • 15
  • 69
  • 110
1
vote
1 answer

Routing Based on DNS

This may seem like an odd question, but I'm in a corporate network and VPNing in to Amazon's AWS, both of which use the same block of 10.0.0.0 addresses. Ultimately, there is no overlapping, but I can't set up static route tables to divide the two…
Stefan Mai
  • 322
  • 2
  • 9
1
vote
0 answers

Running wildcard subdomain virtualhost from a vagrant box with dnsmasq

I'm trying to run a server on vagrant. I have the standard lucid32 box up and running with dnsmasq installed. I want to be able to browse to the server from my host computer with a url like anything.dev I have the following option in my dnsmasq…
Zach Smith
  • 111
  • 2
1
vote
1 answer

Getting Samba, DHCP and DNS to play nice

The scenario: a simple home network. At its core it consists of: an ADSL 4port wireless router. Acting as a DHCP server. (running dd-wrt) An Ubuntu server, running Samba, as a NAS. a mix of other linux based or windows based clients. My biggest…
Chris Becke
  • 161
  • 1
  • 5
1
vote
1 answer

Dnsmasq - DNS plain lookups not working, though qualified lookups and host records seem correct

I've got a simple dnsmasq setup, but am encountering an error. In particular, the following is not working as I'd expect it to: pinging the plain domain fails, but pinging a local-qualified name works. i.e.: $ ping xerox Request timeout for icmp_seq…
Brian M. Hunt
  • 181
  • 3
  • 17
1
vote
1 answer

Is it possible to separate Routing/NAT in conjunction with an internal DNSMasq host providing DNS/DHCP?

It's really great letting DNSMasq take care of DHCP / DNS, as it "just knows" everything... as it should, considering it dished out the addresses to the hosts... However, it seems (to me) - impossible to separate the "routing logic" from the DHCP…
mralexgray
  • 1,353
  • 3
  • 12
  • 29
1
vote
1 answer

Using dnsmasq, loopback works but local clients don't

I just finished configuring dnsmasq on a local machine and it seems to work fine when resolving domains using itself. When I point another machine on the network to use the dnsmasq machine as its sole DNS server, I can't get any domain to resolve at…
Wilco
  • 365
  • 5
  • 17
1
vote
1 answer

Configuring DNSMasq on a WZR-HP-G300NH

I'm looking to configure DNS naming on my WZR-HP-G300NH router. How would one go about doing this? I have found the documentation for Dnsmasq here, and the place where it appears you can configure DNSMasq is located in the WZR-HP-G300NH…
leeand00
  • 4,869
  • 15
  • 69
  • 110