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

15
votes
1answer
13k 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 ...
2
votes
2answers
5k 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 ...
2
votes
4answers
6k 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 www.google....
12
votes
1answer
13k 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
9k 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 - ...
6
votes
1answer
8k views

How to enforce dnsmasq to use dns for some hosts?

Right now I have following line with wildcard in dnsmasq.conf, which handles well all requests (this is required): address=/#/127.0.0.1 Yet, there are some domains which require proper ip address ...
4
votes
3answers
5k 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 ...
2
votes
1answer
241 views

How can i resolve all external addresses to internal address? [duplicate]

I am currently setting up a Linux server for a WIFI access-point. When ever someone who is connected to the hotspot/access-point? tries to reload a page they get forced onto the one page. Note: this ...
2
votes
1answer
3k views

Is there an alternative to “dnsmasq”?

What is the recommended alternative to dnsmasq? I am looking at overriding/configuring the TTL. (Probably the only thing I miss from Windows is the fact that it was more aggressive in caching DNS ...
1
vote
1answer
137 views

Forward dns request to another dns server

How can I forward configure my local dnsmasq so requests with hostnames ending with .docker are forwarded to another nameserver, while other requests are still handled locally ? I have looked for an /...
1
vote
2answers
3k views

dnsmasq: how to increase TTL?

Is there a way to override & increase the received TTL from an upstream DNS server? Is there a configuration parameter in dnsmasq for this?