Using dnsmasq dns server on a laptop for a locally hosted tld
Posted
by kimausloos
on Server Fault
See other posts from Server Fault
or by kimausloos
Published on 2010-03-24T21:25:51Z
Indexed on
2010/03/24
21:33 UTC
Read the original article
Hit count: 599
Hi,
I'm running a working apache install with mod vhost_alias on a laptop. Everything works, but I have to manually add hosts in my /etc/hosts file.
I'd like to install dnsmasq to point a tld to my local machine (this is not the problem, I know how to add a wildcard tld to dnsmasq), but how do I make it so that it will go look for other dns servers upstream? Remember I'm talking about a laptop, so I will be working on various wifi hotspots, with different default gateways, dns servers, etc.
I've searched for quite some time but the only things I find are guides that require you to hardcode the upstream servers wich is a no-go for me.
Any help is appreciated!
© Server Fault or respective owner