Changing DNS servers temporarily
Changing DNS servers temporarily
- Subject: Changing DNS servers temporarily
- From: Dan McCombs <email@hidden>
- Date: Wed, 2 Dec 2009 08:42:46 -0500 (EST)
Hi All,
I'm trying to figure out what the best way is to temporarily change DNS servers via a script or C with the least chance of causing problems. I've been playing around with scutil and networksetup and the thoughts I've had so far are:
* the DNS servers should not be overwritten when a DHCP lease renews
* if something else such as a VPN needs to change DNS servers, it should be able to
* it should be easily reverted to the previous DNS servers
* it needs to support 10.4, 10.5 and 10.6
The DNS servers are for general resolution, not for any specific domains.
Does anyone have suggestions as to what the best approach is to take? Any thoughts on other potential problems changing the DNS servers could cause that should be taken into consideration and worked around?
Thanks,
-Dan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden