Hi,
When dnsmasq is set m0n0wall is supposed to put the lan ip in mpd.conf as the first dns server:
if (isset($config['dnsmasq']['enable'])) {
$mpdconf .= " set ipcp dns " . $lancfg['ipaddr'];
...
However it doesn't appear in mpd.conf - you just get an extra space because I don't think $langcfg
has been initialized in vpn_pptpd_configure().
It looks like the line $lancfg = $config['interfaces']['lan']; got missed out somehow so if anyone
is unsure why their PPTP clients aren't getting the right DNS server then is probably it.
Regards,
Frans |