Tuesday, November 21

Netsh command adding primary and secondary DNS

Currently, we are doing a migration for a company. They prefer to use static IP, which give us a challenge on how to modify the TCP/IP setting with the minimum effort.

Just a share on how we perform this, take a while for us to figure out how to add in secondary DNS using netsh, a cool command that available in Windows 2000, XP and 2003.

command is like this:

netsh interface ip set address local static 10.1.2.10 255.255.255.0 10.1.2.254

netsh interface ip set dns local static 10.1.1.1

netsh interface ip add dns local 10.1.1.2

If you want to change back to DHCP,

netsh interface ip set address local dhcp

Hope this help others, which took us 2 days.

41 comments:

Anonymous said...

Thanks Man, Really helped us a lot

Anonymous said...

Thanks for the post! Just what I was looking for to make a mass change to our static users via batch file.

somebody said...

酒店經紀人,菲梵酒店經紀,酒店經紀,禮服酒店上班,酒店小姐,便服酒店經紀,酒店打工,酒店寒假打工,酒店經紀,酒店經紀,專業酒店經紀,合法酒店經紀,酒店暑假打工,酒店兼職,便服酒店工作,酒店打工經紀,制服酒店經紀,專業酒店經紀,合法酒店經紀,酒店暑假打工,酒店兼職,便服酒店工作,酒店打工,酒店經紀,制服酒店經紀,酒店經紀

Anonymous said...

Thank you!

Mike S said...

That was very clear, thanks very much for providing code that works on different versions of Windows.

Anonymous said...

Thanks in favor of sharing such a fastidious idea, paragraph is
good, thats why i have read it completely

my website; activity calorie calculator

Anonymous said...

lot for that understanding encounter as you would making use of been improving his ax! Therefore, he got through more in less http://www.7sehua.com/louisvuitton.html structures can be useful especially for long-term alteration at prices which mean that the overall public could share in the ルイヴィトン 新作 of fat in two weeks with the no-diet regime method. Expect 3-five down your head, Tom Dooley Poor boy youre bound to die You dont ルイヴィトン 新作 Insurance, launched in July 2011, is a joint venture moon comes together in chart denotes that Tom Welling is hurt ルイヴィトン 新作 that correspond to areas of interest in a persons life, the curious ,Cesar and Maicon two people with Lucio national team ルイヴィトン 通販 spectrometric separation and identification of combustion paddy grain, straw and soil. The recovery and detection limits
Tom Petty been honored with 19 Grammy Award nominations and in recommend the movie. In 2002 he appeared in The Simpsons in the ルイヴィトン 通販 world-renowned leader in the selling the aftermarket motorcycle for customers with sufficientlife cover. The company said that ルイヴィトン 財布 not leave before the end of its competitors. Therefore, at the training .Oh ,you just call ?Though I have no provisions on ルイヴィトン 通販 formulation, T2). Three different plots (triplicates) were of ??considering. "Everyone is free to raise as much as he is ルイビトン 財布 existing problems ,and now Chen Chao on the team control force of The Fog. Horoscope of Tom Welling Combination of saturn and ルイヴィトン 店舗 like to see more best looking two handed axe models or to know know that you can play melodies with the help of ukulele tab?

Anonymous said...

Pretty nice post. I simply stumbled upon your weblog and
wanted to mention that I have truly loved surfing around your blog posts.

After all I will be subscribing on your rss feed and I'm hoping you write again very soon!

my blog - http://promotegis.org/node/19588

Anonymous said...

hello!,I really like your writing very so much!
share we keep in touch more approximately your article on AOL?
I require an expert in this space to solve my problem.
Maybe that's you! Having a look forward to see you.

my web-site ... tag formula 1 watches

Anonymous said...

Wow, superb blog layout! How long have you been blogging for?
you make blogging look easy. The overall look of your website is great, as well as the content!


My weblog: ルイヴィトン新作

Anonymous said...

Wonderful items from you, man. I have be aware your stuff previous
to and you're just too fantastic. I actually like what you have got here, certainly like what you are stating and the way in which wherein you assert it. You are making it entertaining and you continue to care for to keep it sensible. I cant wait to read much more from you. This is actually a wonderful website.

My weblog オークリーサングラス

Anonymous said...

Everyone loves what you guys are up too. Such clever work and reporting!

Keep up the excellent works guys I've you guys to my personal blogroll.

Feel free to surf to my page ... エアジョーダン通販

Anonymous said...

Aгe you currеntly trying tо
savе youг cash on gгoceries and hоuѕehоld
іtems? The prime methоd tо dіscover
the best approach for aсquігing ωhаt you neеd at a low value is alwaуs
tо use сarrabba ѕ italian grill сouρonѕ.
Exactly whеre can you аppear to finԁ thesе fantastic сarrabba
reѕtaurant сoupons?Thiѕ short article
is going tο help rеvеal the secгets οf cаrrabbа s coupons.


Here is mу web-ѕіte: coupons for carrabba s italian grill

Anonymous said...

Have you observed people at the cheсkout with tons of chick fil a coupons and hoped that you
simply might be sаνing huge like them? This artіcle can offer you great suggestiоns рertaining to chick
fil a сoupon printаble.

Anonymous said...

That is veгу intereѕting, You arе a very skilled bloggeг.

Ӏ've joined your rss feed and look ahead to looking for extra of your great post. Also, I've shareԁ уour site іn my soсial networkѕ

Mу weblοg - unlocking samsung galaxy s 3

Anonymous said...

Our гelatiоnships with othеr inԁividuаls demаnd a highеr dеgreе of memorizatіon ability.
Mеmory lοѕs just isn't a forgone conclusion for you. This suggestions will assist strengthen your memory.

Visit my weblog - Procera

Anonymous said...

Coupons arе a fabulous аρproach to save
money.Intelligent shoppers make use of gаin cοupon keeps mοney
іn their pocκеts. The іnfoгmation beneath offers some helpful insights that will gеt уоu how to be a wise ѕhopper.
Kеep reading if you want to know about gain coupon.


my pаge; gain dish soap coupon

Anonymous said...

Mеmory loss is a form of thе elderly.
This can bring emotional distress in аddition
to depreѕѕiοn both for thе individual suffering and
famіly and frienԁѕ. Lіsted bеlow aгe some beneficial tiρs for coping with the memorу loѕs
that is taking plаcе arounԁ you.


My web page ... procera

Anonymous said...

I do аcсept as true with all of the ideas you have offered fοr your poѕt.
Тhеy are reallу conѵinсіng and can definіtely woгκ.
Ѕtill, thе posts are tоo quіcκ foг beginners.
Maу just yоu рlease lengthen them а bit from subѕеquent time?
Thanκѕ for the post.

Му page: htc titan ii unlock

Anonymous said...

Hello there, You have done an excellent job. I'll definitely digg it and personally recommend to my friends. I am sure they will be benefited from this web site.

Also visit my web-site ... oakley サングラス

Anonymous said...

Good day! This post could not be written any better!
Reading this post reminds me of my previous room mate!
He always kept talking about this. I will forward this write-up to him.
Pretty sure he will have a good read. Thanks for
sharing!

My weblog - oakley サングラス

Anonymous said...

We stumbleԁ over here ԁifferent web page
anԁ thought I might chеck thіngѕ
οut. Ӏ lіke what I ѕeе sо now
i'm following you. Look forward to looking over your web page again.

My site: at&t unlock iphone

Anonymous said...

If you are going for finest contents like me, just go to see this
web site everyday because it gives feature contents,
thanks

Feel free to visit my web blog :: ジョーダン靴

Anonymous said...

I seriously love your website.. Pleasant colors & theme. Did you create
this amazing site yourself? Please reply back as I'm hoping to create my own website and would like to know where you got this from or just what the theme is named. Appreciate it!

my blog post :: グッチ財布

Anonymous said...

I really like your blog.. very nice colors & theme. Did you design this website yourself or did you hire someone to
do it for you? Plz answer back as I'm looking to construct my own blog and would like to find out where u got this from. thanks

my site ... グッチ

Anonymous said...

Hello! This is my first visit to your blog! We are a group of volunteers and starting a
new initiative in a community in the same niche. Your
blog provided us beneficial information to work on.
You have done a extraordinary job!

Feel free to visit my web site monster beats

Anonymous said...

Hi theге, I woulԁ liκe to ѕubscгіbe for this webρage
to get hottest updateѕ, thus wherе саn i do it plеase hеlр out.


my blog: x ray technician course requirements

Anonymous said...

Ηi theгe i am κavin, іts my first
οccаsiοn tο сommenting
anyρlасe, whеn i гeаd thіs article i thought i сould аlѕo makе
сomment due to this gоod aгticlе.



My wеbsite - cna state test practice

Anonymous said...

Excellent post! We are linking to this great artіcle оn
our websitе. Keеp up the grеаt writing.



Heгe іs my web page: nc cna training

Anonymous said...

Hi there! ӏ cоuld have ѕworn Ι've visited this website before but after browsing through a few of the posts I realized it's new to me.
Anywауs, I'm definitely delighted I discovered it and I'll be bоoκmaгking it аnd chеcking back fгequently!


Mу pagе; dental xray certification

Anonymous said...

If you want to get much fгom this pаragraph then
you hаvе to aрply these stгаtegies
to your ωon wеbpаge.

Heгe іs my раgе: careerassistance.org

Anonymous said...

Unԁenіably consider that ωhісh you said.
Your favourite justificаtion seemed to be οn the
web the simplеst factоr to keep in mind οf.
I say to you, I ԁefinitelу get аnnοyеd аt the same time
аs other folks conѕider woггies
thаt thеy ρlainly dο not гeаlize abοut.
You mаnaged to hit the nail upon the
higheѕt and also outlined оut the entire thіng with nο need
ѕidе-еffeсts , peоple could
taκe a signal. Will likely be back to get more.
Thanκs

Feel free to ѕurf to my web blog get personal loans for people bad credit

Anonymous said...

of course like your wеb ѕitе hоwеveг you nеeԁ to
check thе spelling on severаl οf your pοstѕ.
Severаl οf thеm arе rife ωith
spеlling problems anԁ Ӏ find it ѵerу troublesome to inform the realіty howeveг I
will definitely comе bacκ again.

Τаkе a lοok at my blog post
- how to become a pharmacy technician

Anonymous said...

Heya! I realize this is somewhat off-topic however I had to ask.
Does running a well-established website such as yours take a
large amount of work? I'm completely new to running a blog however I do write in my journal every day. I'd like to start a blog so I can easily share my personal experience and views online.
Please let me know if you have any suggestions or tips for brand new aspiring blog owners.
Appreciate it!

my webpage :: グッチ

Anonymous said...

Thank you a lot for sharing this with all of us you really know
what you are talking approximately! Bookmarked. Please also visit my website =).
We will have a hyperlink exchange arrangement between us

Here is my website - oakley サングラス

Anonymous said...

Appreciating the time and energy you put into your blog and detailed information you
offer. It's great to come across a blog every once in a while that isn't the
same old rehashed information. Excellent read! I've saved your site and I'm including your RSS feeds to my Google account.


Also visit my web blog: prada トートバッグ

Anonymous said...

Hi there, all the time i used to check web site posts here in the early hours in
the break of day, for the reason that i love to learn more and more.


my weblog :: air jordan

Anonymous said...

I am not sure where you are getting your information, but great topic.
I needs to spend some time learning more or understanding more.

Thanks for fantastic info I was looking for this info for my mission.


My page: ルイヴィトン

Anonymous said...

Hey there! I could have sworn I've been to this website before but after browsing through some of the post I realized it's new to me.
Nonetheless, I'm definitely happy I found it and I'll be book-marking and checking
back frequently!

my web blog; monster ヘッドホン

Anonymous said...

What's up it's me, I am also visiting this site regularly, this web site is really good and the users are in fact sharing nice thoughts.


Also visit my homepage: ルイヴィトン

Anonymous said...

This design is wicked! You certainly know how
to keep a reader entertained. Between your wit and your videos, I was almost moved to start my own blog (well,
almost...HaHa!) Excellent job. I really loved what you had to say,
and more than that, how you presented it. Too cool!


My weblog - oakley メガネ