I have set up an account at OpenDNS for web filtering. I think it is a great service and don't want to change to any alternative.

What I would like to do is change the DNS settings per user so I can choose who on that particular computer has filtered web access. What is the most reliable/robust solution to do this?

Windows XP Professional.

link|improve this question
Which version of windows are you using? – Andrew Cox Jul 15 '09 at 8:38
I am using xp pro – Rhythmic Algorithm Jul 15 '09 at 8:40
feedback

1 Answer

I suggest you look at writing a script that uses the netsh command. Example:

netsh interface ip set dns "Local Area Connection" <Primary DNS ADDRESS>
netsh interface ip set dns "Local Area Connection" <Secondary DNS ADDRESS> index=2

You can leave the script on the desktop of any user that needs to change the dns information, you can also create a script that reverses the change and set that script to run at logout.

link|improve this answer
1  
This is a "manual" solution - and it requires Admin rights too - so it will not work for web filtering, which @Rhythmic wants. – grawity Jun 13 '10 at 16:28
You can place these lines in the login script for each individual user or groups of users in OU's if he's using AD. – Mark Turner Jun 15 '10 at 21:57
But isn't this per a machine like all other TCP/IP settings and not per users ? This will probably will not work on a terminal server. – user63682 Jan 19 '11 at 10:14
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.