Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium



Posted on 2003-03-07
Medium Priority
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 ?
Question by:Auerelio Vasquez

Accepted Solution

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.
LVL 22

Expert Comment

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 = ""
Const strNewDNS2 = ""

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

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!
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…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

581 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