I wanted to forward requests to my work’s domain to their dns server. The network is connected to via PPTPD. The only problem is that when dnsmasq is set to forward a domain, pptpd won’t start correctly. It’s a weird bug, but here is the (possibly ugly:)) way around it. Add something like this to your startup commands
echo "server=/domainname/dnsserveripaddress" >> /tmp/dnsmasq.conf sleep 15 killall dnsmasq dnsmasq --conf-file /tmp/dnsmasq.conf
Tags: Tech

No comments
Comments feed for this article
Trackback link: http://lynema.org/2007/03/13/nasty-dd-wrt-hack/trackback