Comment 15 for bug 37239

Revision history for this message
Eddie Hung (eddieh) wrote :

I'm using the latest Feisty version with NetworkManager and the PPTP VPN plugin. When USEPEERDNS is selected, NM edits /etc/resolv.conf with DNS server of the server I'm connecting into, which if I'm not mistaken is desired behaviour. However, when USEPEERDNS is not selected, NM does not fill /etc/resolv.conf with anything, as a result I am left with no DNS, and I need to manually echo my gateway into resolv.conf to get it back. I'm not sure I fully understand the issue here, but I hope this helps, and hopefully someone else can shed some light onto mine! I understand that the /etc/ppp/ip-up.d/0000usepeerdns script is only executed when USEPEERDNS is selected, and when this happens some resolv.conf backups appear in /etc generated by pppd, but when it is not, no such files appear. From this, I gather that ppp is not updating resolv.conf, and if this is intended, then NM should be instead. And by now, not even I have any idea whether or not I'm making sense anymore! =)