[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Adding DNS Servers in Mac OS X 10.4



Hi,

Ralf Ebert wrote:
Hi,

with Panther, DNS servers could be added by adding entries to resolv.conf, and these changes were accepted system wide. With Tiger, this doesn't seem to work anymore... (at least for applications using lookupd). Did anybody already figured out a way to add/remove DNS servers dynamically for using DNS servers located in VPN network for the time the VPN is active?

I am using OSX 10.3; but here you need to restart lookupd as well, just changing /var/run/resolv.conf does not work system wide, though it does seem to work for command line tools like 'host'. If you read the lookupd man page it turns out the recommended way to restart it is by just sending a HUP signal: kill -HUP `cat /var/run/lookupd.pid`. This works fine for me.

However... this may not be true for 10.4. Plus I remember a post in this mailing list where somebody pointed at the proper command line tool to use when one wants to update the local dns config. Sorry, forgot which one it was but it should be in the archives somewhere. Hope this helps though.

Cheers,
Tim

Thanks!
Regards,
Ralf


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users




--
Tim Bruijnzeels
Greenpeace International
Ottho Heldringstraat 5
1066 AZ Amsterdam
+31 20 7182132


____________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users