?
Solved

DHCP DNS Domain Name

Posted on 2002-06-30
4
Medium Priority
?
405 Views
Last Modified: 2007-12-19
Hi,

I managed to write a script file to assign static IP Address, Gateway, DNS Server but not the DNS Domain Name.

Below is the syntax used to set the optionvalue:

set optionvalue <option code> <data type> <option value>

eg,
set optionvalue 003 IPAddress 192.168.1.1

003 => gateway option code
IPAddress => data type

AS for DNS Domain name, I used :

set optionvalue 015 String abc.com.my

But it gives me an error stating "Parameter(s) passed are either incomplete or invalid."

I've tried a lot of combinations but it doesn't work.

Anyone can help ??


0
Comment
Question by:carollow
[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
4 Comments
 
LVL 17

Accepted Solution

by:
mikecr earned 200 total points
ID: 7121581
If you mean that you want to set the DNS suffix search order, here is a little article that you can adapt to your script.

http://support.microsoft.com/search/preview.aspx?scid=kb;en-us;Q178277
0
 

Author Comment

by:carollow
ID: 7122046
hi,

i managed to create the script file, but i still have one question.

WHY my dhcp server is showing 127.0.0.1 as the IP Address instead of the real IP Add in the MMC console window ?

thanks.
0
 
LVL 17

Expert Comment

by:mikecr
ID: 7122285
That's because that is the IP that the server is bound to right now serving IP addresses. You can fix this by going to the Administrative tools, then DHCP Manager and open it. Right click on the server name, choose properties from the menu, then click the advanced tab and then about half way down the screen click on the bindings button and you can then set the IP that it is bound to.
0
 
LVL 1

Expert Comment

by:netwiz562
ID: 8963737
---- CLEAN UP ----

carollow,
No comment has been added lately (385 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:

RECOMMENDATION: [ Award points to mikecr ]

Please leave any comments here within the next seven days.

¡PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

------------------------------
Rajiv Makhijani
EE Cleanup Volunteer
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses
Course of the Month10 days, 2 hours left to enroll

762 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