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

learn more… | top users | synonyms

2
votes
1answer
2k views

Default http redirection when domain name requested, with a flashed dd-wrt router

i'm setting up a testing environment in my office and configured a router flashed with dd-wrt to be my dns. I configured the domain name in the router to mydomain.com, through Setup >> Basic Setup >> ...
2
votes
2answers
3k views

How do I get Windows Domain Controller and Ubuntu dnsmasq to play nicely?

I've inherited "ownership" of a network which has a Windows 2003 Server running as a Domain Controller and file server (no IIS or DNS running). We also use an Ubuntu server running dnsmasq as an ...
1
vote
1answer
1k views

Does running dnsmasq and named create conflicts on Ubuntu 12.04?

dnsmasq is run to help make the user experience smoother for the desktop users. If I run bind/named on this same server will there be conflicts between the two? What are the limitations of dnsmasq, ...
1
vote
1answer
392 views

DNSMASQ configuration [closed]

I am using DNSmasq, OpenDNS and DYNDNS. DYNDNS is for my FTP site, and I am using OPEN DNS to filter porn from my kids itouch/ipad. However, I would like a few computers to have the capability to ...
1
vote
1answer
1k views

Using dnsmasq for accessing multiple nameservers assigned by DHCP

At my work desktop running openSUSE 11.4, I have a local network which gets its address, domain (work.site) and nameservers (10.100.1.1, 10.100.1.2) info through DHCP - which get written into ...
0
votes
1answer
767 views

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 ...
0
votes
2answers
909 views

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, ...
3
votes
1answer
458 views

Force to use specific DNS provider at network

OpenDNS offers a quite simple way for internet filtering by categories. Of course who could get the correct IP address can easily bypass the filter but it would be enough for my expectations. The ...
3
votes
2answers
2k views

Running dnsmasq as an authoritative DNS server

I am trying to implement a dynamic dns service for my computers. I have pointed h.lohray.com to my EC2 instance in the NS record of lohray.com and have installed dnsmasq on that system and have made ...
3
votes
1answer
2k views

OpenVPN: Not all DNS entries get pushed to clients from server. (dnsmasq)

I have been trying to find a solution to this problem, but have found no answer so far, so I hope you guys can help me out. I have a server running Ubuntu 10.04, which has a static IP address and an ...
6
votes
2answers
8k views

Disable dhcp service in dnsmasq

I would like to use only dnsmasq to forward all dns requests to google's dns server and disable dhcp... How can I achieve this result?
0
votes
2answers
150 views

bind9 forward records, not just zones

The situation I am faced with is that I have a few domains hosted with UltraDNS and also with a bind9 server for local use with internal subdomains and for dhcp hostnames. For example, domain.com is ...
11
votes
1answer
7k views

Using dnsmasq to resolve all hosts to the same address

I'm running Ubuntu server on a computer used as a wireless AP, but this AP should resolve all DNS requests to an internal IP address rather than actually performing the lookup. I want to do the same ...
0
votes
2answers
3k views

Dnsmasq on Tomato firmware won't reply from simple name address

I want to be able to access computer 192.168.0.3 from the simple name "pos". Not "pos.com" or anything. With my setup below I can ping dev.pos, just not pos. I have to ping mydomain.pos to get a ...
1
vote
1answer
2k views

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 ...
0
votes
1answer
494 views

How to delegate a zone from Microsoft Windows 2003 DNS server to dnsmasq?

I have a split domain setup on my production server farm: Each server has both an external (internet facing) IP address and a private internal (LAN facing) IP address. A local DNS server running ...
1
vote
1answer
2k views

How can I setup a Wilcard DNS Entry on pfSense?

How can I set up Wildcard DNS on a pfSense embedded device running pfSense 2.0? Details: pfSense uses dnsmasq as a DNS forwarder Running the current pfSense release, 2.0 Running on a Netgate ...
1
vote
1answer
324 views

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 ...
5
votes
5answers
4k views

How do I MAC filter with DHCP server

I want to Only allow certain MAC addresses to get a IP from my DHCP server, currently I use dnsmasq and I rather not change dhcp server but I'm open to other software aswell. However, I need to be ...
1
vote
0answers
1k views

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 ...
1
vote
1answer
492 views

resolvconf dnsmasq issue - system startup leaves blank dnsmasq resolv.conf file

On system start, /var/run/dnsmasq/resolv.conf file ends up being blank. I had expected the resolvconf package to update it with the info from /etc/network/interfaces (dns-nameservers, dns-search). ...
1
vote
1answer
645 views

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 ...
1
vote
1answer
463 views

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 ...
0
votes
1answer
212 views

Is dnsmasq a cache?

I have doubt whether dnsmasq is a DNS server or just a cache for DNS. I see in some of the linux machines that the dnsmasq is installed. Is it installed in default? Thanks in advance.
1
vote
1answer
295 views

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) - ...
0
votes
1answer
784 views

Can I specify more than two DNS in dd-wrt? Different company DNS?

Right now my "Additional DNSMasq options" is as follows: no-resolv strict-order server=208.67.222.222 server=208.67.222.220 1. can I specify OpenDns for the first and genuity for the second (i.e. ...
3
votes
3answers
4k views

dnsmasq reading /etc/hosts, but not using it

I've done a default install of dnsmasq. When I run dig, it seems to be using dnsmasq (127.0.0.1), but the results don't include the hostnames included in /etc/hosts. /etc/hosts: 192.168.1.13 sun ...
1
vote
2answers
658 views

How to downgrade dnsmasq?

after upgrating to ubuntu 11.04, I lost dnsmasq. When I run /usr/sbin/dnsmasq start I get dnsmasq: junk found in command line Apparently I need to downgrade dnsmasq but Package->Force version is ...
0
votes
1answer
575 views

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 ...
2
votes
2answers
3k views

Redirect all DNS-Requests with dnsmasq

I have following scenario: I have set up an ad-hoc network with wicd on my server, and use dnsmasq as an dhcp- and dns-server. The network works very well, I can connect, get an ip address, and on all ...
1
vote
1answer
757 views

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 ...
4
votes
2answers
2k views

Dnsmasq resolves local hostname to 127.0.0.1 all over the net

My dnsmasq is configured: On host 'rtfm.lan' Domain 'lan' There are some DHCP presets that include hostnames All '*.lan' hosts registered via DHCP do resolve fine: dnsmasq known which IPs are ...
1
vote
1answer
1k views

Configuring dnsmasq to act as a IPv6-to-IPv4 or IPv4-to-IPv6 forwarder?

Is there a guide somewhere about how to rig up some IPv6-to-IPv4 and IPv4-to-IPv6. I'd like to be able to run a dual stack on my home lan but not forfeit ipv4 just yet.
1
vote
1answer
881 views

dnsmasq and mac filter

Using dnsmasq as DHCP provider, how is it possible to allow only certain mac addresses to get IP address?
1
vote
1answer
294 views

DNS Cache domains not resolving from external IP

I am using dnsmasq on a CentOS box on an external network. My config file looks as follows: port=53 bind-interfaces user=root group=dnsmasq pid-file=/var/run/dnsmasq.pid domain-needed bogus-priv ...
2
votes
1answer
2k views

Moving the DHCP/DNS services from a Windows server (Active Directory) to a Linux machine

At my workplace we have a Windows Small Business Server, which runs DHCP and DNS services for our local network. I believe it's an Active Directory setup, but since I have no clue of Windows really, ...
0
votes
2answers
637 views

Can I put dnsmasq in front of a win2k3 DC and have clients use dnsmasq as primary DNS?

I am running a mixed LAN, and have XP client PCs on a 2k3 domain (and therefore use 2k3 as primary DNS). For political reasons I need to run dnsmasq server in front of it and point other DNS ...
0
votes
1answer
639 views

Problem configuring dnsmasq for local subdomains

I've set up dnsmasq on a virtal machine server in order to handle static wildcard subdomains on my local home network for development purposes. The idea is to have *.local.myapp.com resolve to the ...
1
vote
2answers
697 views

DNSmasq configuration woes, how to make DHCP names served out of DNS entries

My DNSmasq configuration is as follows: dhcp-range=private,192.168.128.100,192.168.128.200 dhcp-range=public,192.168.129.100,192.168.129.200 dhcp-option=private,option:router,192.168.128.1 ...
7
votes
3answers
6k views

How do you get dnsmasq to specify alternate DNS servers?

I'm working on a network with ~10 kubuntu desktops (and numerous servers and IP phones) and am trying to get dnsmasq to specify another dns server as a failover. I tried using server=192.168.0.90 ...
0
votes
1answer
1k views

Problems setting up dnsmasq

Its currently set up as follows: # /etc/dnsmasq.conf domain-needed bogus-priv address=/doubleclick.net/127.0.0.1 except-interface=eth0 dhcp-range=interface:eth1,192.168.1.10,192.168.1.127,12h ...
3
votes
2answers
2k views

Restricting dnsmasq's DHCP server to one interface

How do I configure dnsmasq to only assign addresses on eth0, not wlan0?
0
votes
2answers
682 views

Trouble serving vhosts when trying to set up wildcard subdomains with dnsmasq in local development environment

I'm trying to get wildcard DNS enabled on my laptop using dnsmasq. I realize that this has been asked and answered more than once on this forum, but I can't get the solution to work for me. Steps ...
1
vote
0answers
306 views

associate dhcp requests with subdomains in dnsmasq

I have dnsmasq running as a dns server with a number of linux boxes using static ips that run several virtual hosts on subdomains. I currently have the following address line in my dnsmasq.conf to ...
3
votes
3answers
3k views

DNS lookup aliasing of hostnames (not IP aliases), probably via dnsmasq

I'd like to be able to set up a host, say "eg", to be an alias to some server on the internet, say "example.example.com". I just need this functionality to be available from my local machine. I'm ...
0
votes
1answer
442 views

Oracle VM provisioning from dnsmasq

I have Oracle VM 2.2.0 and a provisioning server (dhcp/tftp/http) based on dnsmasq. A VM that it is configure too boot from the network, is receiving the IP, but it is failing to boot. The error ...
9
votes
1answer
8k views

Setting up dnsmasq for a local network

Me, and a small group of developers have just moved to a new office, and I'd like to set up dnsmasq on our development server, so when we deploy web apps there, we don't have to edit our own hosts ...
10
votes
2answers
6k views

How to configure a static wildcard subdomain with dnsmasq

I have a network behind a NAT with a few machines. The machines are: router - NAT, dnsmasq, forwarding - directly connected to the inet server - which runs ssh, www and some other stuff clients - ...
2
votes
3answers
5k views

How can I override TTL of an Internet Address?

I'm running a caching DNS server currently to improve latency in a network. The question is: can I override the TTL I get from a server using BIND9 or other software on Linux? short "dig ...
0
votes
1answer
854 views

Set host firewall so VMs obtain dynamic IP from dnsmasq

Virtual machines (KVM/libvirt) fail to obtain a dynamic IP address from the libvirt-launched dnsmasq running on a CentOS host when the firewall is running. When I turn off the firewall (CSF), the ...