Using dnsmasq dns server on a laptop for a locally hosted tld
- by kimausloos
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!