DD-WRT PPTP DNS Issue

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

Related posts:

Tags: