Solved

DNS servers entries through Group Policies

Posted on 2006-06-25
11
227 Views
Last Modified: 2010-03-18
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
0
Comment
Question by:vignesh26
  • 4
  • 3
11 Comments
 
LVL 43

Expert Comment

by:Steve Knight
ID: 16981909
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
0
 

Author Comment

by:vignesh26
ID: 16982053
Hi Steve...

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

Regards

Vignesh
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 16987167
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
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 43

Expert Comment

by:Steve Knight
ID: 17201323
Well obviosuly I'd like the points :-)
0
 

Author Comment

by:vignesh26
ID: 17257613
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
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 17258009
Try some feedback next time and maybe we would help find you solutions.
0
 

Accepted Solution

by:
ee_ai_construct earned 0 total points
ID: 17281003
PAQ / Refund
ee ai construct, community support moderator

we do not award points to those asking the questions.
0
 

Author Comment

by:vignesh26
ID: 17284950
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
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Downtime reduced, data recovered by utilizing an Experts Exchange Business Account Challenge The United States Marine Corps employs more than 200,000 active-duty Marines with operations in four continents, all requiring complex networking system…
Greetings, Experts! First let me state that this website is top notch. I thoroughly enjoy the community that is shared here; those seeking help and those willing to sacrifice their time to help. It is fantastic. I am writing this article at th…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question