PC Review


Reply
Thread Tools Rate Thread

aumatically settings DNS IP addresses on client

 
 
parhez Sattar
Guest
Posts: n/a
 
      1st Apr 2004
Is there a way to add additional DNS server IP addresses
to Win2K clients, in an NT domain environment? We are
preparing for our upgrade to W2K3 AD domain and need to
make each of the clients aware of the DNS servers that
will point them to the DCs. Thanks in advance.
 
Reply With Quote
 
 
 
 
Lanwench [MVP - Exchange]
Guest
Posts: n/a
 
      1st Apr 2004
DHCP?

parhez Sattar wrote:
> Is there a way to add additional DNS server IP addresses
> to Win2K clients, in an NT domain environment? We are
> preparing for our upgrade to W2K3 AD domain and need to
> make each of the clients aware of the DNS servers that
> will point them to the DCs. Thanks in advance.



 
Reply With Quote
 
Parhez Sattar
Guest
Posts: n/a
 
      1st Apr 2004
Sorry to have failed to mention that "DHCP"
and "Forwarding from the existing Unix DNS Server" are not
options for me. I am looking for more of a
remote/scripted/GP solutions.




>-----Original Message-----
>DHCP?
>
>parhez Sattar wrote:
>> Is there a way to add additional DNS server IP addresses
>> to Win2K clients, in an NT domain environment? We are
>> preparing for our upgrade to W2K3 AD domain and need to
>> make each of the clients aware of the DNS servers that
>> will point them to the DCs. Thanks in advance.

>
>
>.
>

 
Reply With Quote
 
Ayhan
Guest
Posts: n/a
 
      2nd Apr 2004
strIPaddr=Array("XXX,xXX,XXX,XXX")
strSNMask=Array("XXX,xXX,XXX,XXX")
strGateway=Array("XXX,xXX,XXX,XXX")
strPWINS="XXX,xXX,XXX,XXX"
strSWINS="XXX,xXX,XXX,XXX"
strPDNS= "XXX,xXX,XXX,XXX"
strSDNS= "XXX,xXX,XXX,XXX"
strDNSServer=Array(strPDNS, strSDNS)

Set objService=GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set objEnumerator=objService.ExecQuery("Select * From
Win32_NetworkAdapterConfiguration Where DatabasePath IS NOT NULL")

objService.Security_.impersonationlevel = 3

For Each objInstance in objEnumerator
intStatus=objInstance.SetWINSServer (strPWINS, strSWINS)
intStatus=objInstance.SetDNSServerSearchOrder(strDNSServer)
intStatus=objInstance.EnableStatic (strIPaddr, strSNMask)
intStatus=objInstance.SetGateways(strGateway)
Next



"Parhez Sattar" <(E-Mail Removed)> wrote in message
news:1724d01c41832$40772cc0$(E-Mail Removed)...
> Sorry to have failed to mention that "DHCP"
> and "Forwarding from the existing Unix DNS Server" are not
> options for me. I am looking for more of a
> remote/scripted/GP solutions.
>
>
>
>
> >-----Original Message-----
> >DHCP?
> >
> >parhez Sattar wrote:
> >> Is there a way to add additional DNS server IP addresses
> >> to Win2K clients, in an NT domain environment? We are
> >> preparing for our upgrade to W2K3 AD domain and need to
> >> make each of the clients aware of the DNS servers that
> >> will point them to the DCs. Thanks in advance.

> >
> >
> >.
> >



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving client addresses =?Utf-8?B?bmdhbg==?= Microsoft Access Database Table Design 9 27th Jul 2005 09:57 AM
Re: Finding Client's IP addresses Gavin Jacobs Microsoft VB .NET 0 31st Aug 2004 11:23 PM
Re: Finding Client's IP addresses Shiva Microsoft VB .NET 0 28th Aug 2004 03:35 PM
how can I get client IP addresses? DirkDiggler Microsoft ASP .NET 2 20th Feb 2004 09:22 AM
RDP client settings overruling TS 2003 server settings Will Microsoft Windows 2000 Terminal Server Clients 0 30th Aug 2003 08:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:39 PM.