Link to home
Start Free TrialLog in
Avatar of vignesh26
vignesh26

asked on

DNS servers entries through Group Policies

Hello Everyone...

I need to know how to add my DNS servers ip addresses to all my client computers through Group Policies. Pls note that i've already tried it through Default Domain Policy - Computer Configuration - Administrative Templates - Network - DNS Client - DNS Servers but no luck. All computers on my network run WinxpSP2.

Thanks and Best Regards

Vignesh
Avatar of Steve Knight
Steve Knight
Flag of United Kingdom of Great Britain and Northern Ireland image

Presumably then you are not using DHCP for address assignment, if you are of course it is just a matter of setting a scope option on the DHCP scope.  If not it's going to me more difficult.
Steve
Avatar of vignesh26
vignesh26

ASKER

Hi Steve...

No i am not using DNS. My entire network is on Static IP.

Regards

Vignesh
Maybe you could run a netsh command from your login script or a group policy startup script schedule a task on each computer.  I think it goes something like this:

netsh interface ip set dns "Local Area Connection" static 10.1.1.1.

Steve
Well obviosuly I'd like the points :-)
Hi...

Dragon-It Answers did not work out as it had to do with DHCP and we are not using DHCP in our network. Also the netsh command did not yeild the desired results. I have finally managed to get a solution working. Here it goes.

On the network properties of the lan connection, set the dns entries to obtain address automatically.

Open GPMC and navigte to Default Domain Policy - Computer Configuration - Administrative Templates - Network - DNS Client - DNS Servers and key in the required DNS numbers. Run gpupdate /force from a few machines and then browse the internet. It should work. Wait for group policy to replicate to all clients machines.

This worked in my case and hence this question can be closed and the points awared to me itself.

All the best

Vignesh
Try some feedback next time and maybe we would help find you solutions.
ASKER CERTIFIED SOLUTION
Avatar of ee_ai_construct
ee_ai_construct
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No problems. Then the case can be closed. But this solution worked in my case. This is what i would like to stress.


Thanks

Vignesh