?
Solved

DNS

Posted on 2003-03-07
2
Medium Priority
?
169 Views
Last Modified: 2010-03-18
Here is what i need done. I need to create a second dns server in our domain. I just want this server to mirror the one we already have is this possible ? 2. once server is created i need to go company and add this server to every one's tcp/ip settings. is there a way in dos to change this ? so i can create a batch file ? and not have to go around companywide and change this setting for DNS ?
0
Comment
Question by:Auerelio Vasquez
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
Drizzt420 earned 2000 total points
ID: 8089391
What OS are you using? If you have Win2k you can install DNS on the second server, using add/remove windows components-networking services, and configure it to be a secondary server for an existing zone, the DNS setup will prompt you for this. Then you can configure your DHCP properties to hand out the ip adresses of your DNS servers by configuring your server or scope options in the DHCP management console.
0
 
LVL 22

Expert Comment

by:kristinaw
ID: 8090077
or, if the first dns server is AD integrated, you just add a second one. pretty easy either way.

if you're not using dhcp, the following script was posted by someone on the programming board, it works great for changing settings. i wish i could remember who, but anyway, i can't take credit for it.

you should be all set, please give points to drizzt.

just save this in a text file and rename it to 'something'.vbs

Const strNewDNS1 = "10.10.10.10"
Const strNewDNS2 = "10.10.10.9"

Set objNICs = GetObject("winmgmts:{impersonationLevel=impersonate}").InstancesOf("Win32_NetworkAdapterConfiguration")

For Each objNIC In objNICs
   If objNIC.IPEnabled Then
    objNIC.SetDNSServerSearchOrder Array(strNewDNS1,strNewDNS2)
   End If
Next
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Have you ever set up your wireless router at home or in the office to find that you little pop-up bubble in the bottom right-hand corner of Windows read "IP Conflict - One of more computers on the network have been assigned the following IP address"…
Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

764 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