(鍏跺疄鎴戜笉鏄綉绠★紝璇︽儏璇风湅……) 鍏充簬缃戠涔嬭矾鐨勮鏄

DNS,DHCP鐨勫浠芥仮澶嶏紙鎵瑰鐞嗚嚜鍔ㄥ疄鐜帮級

鐜板湪鐨勬湇鍔″櫒涓婅繍琛屼簡寰堝绯荤粺鏈嶅姟锛岃櫧鐒朵腑闂存病鏈夊嚭杩囦粈涔堥棶棰橈紝浣嗘槸杩樻槸鎬曪紝瑕佹槸鍑轰簡闂锛屽氨鏄ソ鍑犲ぉ鐨勬椂闂存病鏈変簡锛岀疮4浜虹殑浜嬫儏鍟娿傛墍浠ヨ鎶婁粈涔堜笢瑗块兘backup涓涓嬨俫host澶囦唤鐨勬槸绯荤粺锛屼絾鏄湇鍔$殑閰嶇疆鏄殢鏃跺湪鍙樺寲鐨勶紝鎬讳笉鑳芥椂涓嶆椂鐨勬潵涓猤host鍚э紝鍐嶈娌℃湁鏄剧ず鍣紝寰堥夯鐑︾殑銆
鐮旂┒浜嗕竴涓笅鍗堬紝缁堜簬瀹炵幇浜咲NS鍜孌HCP鐨勮嚜鍔ㄥ浠姐
DNS鐨勫浠 
1銆佸仠姝NS鏈嶅姟 
2銆佹墦寮regedit,鎵惧埌HKLM\system\currentcontrolset\services\dns 
3銆佸皢DNS杩欎釜鍒嗘敮瀵煎嚭銆傚懡鍚嶄负DNS-1 
4銆佹壘鍒癏KLM\software\microsoft\windows NT\currentversion\DNS server 
5銆佸皢DNSserver鍒嗘敮瀵煎嚭锛屽懡鍚嶄负DNS-2 
6銆佹墦寮\windows\system32\DNS 锛屾妸鍏朵腑鐨勬墍鏈夛紛.dns鏂囦欢澶嶅埗鍑烘潵锛屽苟鍜孌NS-1.reg鍙奃NS-2.reg淇濆瓨鍦ㄤ竴璧枫 
鎶婁笂杩板唴瀹瑰浠藉嚭鏉ュ嵆鍙 
DNS鐨勬仮澶嶏細 
1銆佸綋鍖哄煙閲岀殑DNS鏈嶅姟鍣ㄥ彂鐢熸晠闅滐紝閲嶆柊寤虹珛涓鍙皐in2003鏈嶅姟鍣紝骞朵笌鎵瑕佹浛浠g殑DNS鏈嶅姟鍣ㄨ捣鐩稿悓鐨勫悕瀛楋紝璁剧疆鐩稿悓鐨凞NS鍚庣紑鍜孖P鍦板潃銆 
2銆佸湪鏂扮郴缁熶腑瀹夎骞跺惎鍔―NS鏈嶅姟銆 
3銆佹妸鍓嶉潰澶囦唤鍑烘潵鐨勶紛.dns鏂囦欢澶嶅埗鍒版柊绯荤粺鐨刓windows\system32\dns鏂囦欢澶逛腑銆 

4銆佸仠鐢―NS鏈嶅姟銆 
5銆佹妸澶囦唤鐨刣ns-1.reg鍜宒ns-2.reg瀵煎叆鍒版敞鍐岃〃涓 
6銆侀噸鏂板惎鍔―NS鏈嶅姟銆 

dhcp鐨勫揩閫熷浠 
鍛戒护琛岋細 
netsh dhcp server dump >dhcp_bak.txt 
澶囦唤瀹屾垚銆 
濡傛灉鍘烡HCP鏈嶅姟鍣ㄦ崯鍧忥紝闇瑕佹柊寤轰竴鍙癉HCP鏈嶅姟鍣紝骞舵妸DHCP-bak.txt澶嶅埗杩囨潵銆 
鍦ㄥ懡浠よ杩愯锛 
netsh exec dhcp_bak.txt 
杩欐牱锛岀浉鍏崇殑淇℃伅灏辨仮澶嶄簡锛屼絾绉熺害淇℃伅鐢ㄨ繖绉嶅姙娉曟棤娉曟仮澶嶃  


杩欏彧鏄墜鍔ㄥ疄鐜扮殑鏂规硶锛屼綔涓烘湇鍔″櫒锛岃繖鏍峰仛鏄笉澶熺殑锛屽ぉ澶╁幓澶囦唤涓嶄絾璐逛簨涔熷緢涓嶄繚闄╋紙蹇樿浜嗘庝箞鍔烇紵锛夛紝鎵浠ユ垜浠彲浠ュ仛涓壒澶勭悊锛岀劧鍚庡缓绔嬩釜浠诲姟锛岃瀹冭嚜鍔ㄧ殑瀹炵幇澶囦唤銆
浠ヤ笅鏄浠界殑浠g爜锛


=================================================
@echo Smoile's 缃戠涔嬭矾 (c) 2005-2007 All Right Resevices
@echo 鍒朵綔缁存姢锛歴moile
@echo 鎶鏈敮鎸侊細www.smoile.com
@echo銆銆(銆@ @銆)
@echo 鈹忊攣oOOo-(_)-oOOo鈹佲攣鈹佲攣鈹佲攣鈹佲攣鈹佲敁
@echo 鈹 璋㈣阿浣犵殑鏀寔www.smoile.com     鈹
@echo 鈹                                 鈹
@echo 鈹冦 oooO銆                      銆鈹
@echo 鈹椻攣(銆 )-鈹丱ooo 鈹佲攣鈹佲攣鈹佲攣鈹佲攣鈹佲敍
@echo 銆銆 \ (銆 ( 銆)
@echo 銆銆銆\_)銆 ) /
@echo 銆銆銆銆銆 (_/

@echo  Backup DNS config start鈥︹︹︹
@echo 璇峰湪D鐩樹笅寤虹珛backup\DNS鍜孌NCP涓や釜鏂囦欢澶
::鎷疯礉system32\dns涓嬬殑dns鏂囦欢
copy c:\windows\system32\dns\*.dns d:\backup\DNS /y
::瀵煎嚭娉ㄥ唽琛ㄦ枃浠
regedit /e d:\backup\DNS\DNS-1.reg HKEY_LOCAL_MACHINE\system\currentcontrolset\services\dns
::鍏ㄨ矾寰勬枃浠跺悕涓や晶鍔犱笂寮曞彿
regedit /e d:\backup\DNS\DNS-2.reg "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DNS Server"
@echo DNS config backup complete!
@echo Backup DHCP config start鈥︹︹︹
::澶囦唤dhcp鏂囦欢
netsh dhcp server dump >d:\backup\dhcp\dhcp_bak.txt /y
echo DHCP config backup complete!
echo off
exit

=========================================================
鎶婁笂闈㈢殑浠g爜淇濆瓨涓篵at鏂囦欢灏卞彲浠ヤ簡锛屽弻鍑昏繍琛屽氨鍙互鑷姩瀹屾垚DNS鍜孌HCP鐨勫浠戒簡銆

鍏朵腑DNS澶囦唤鐨勬晥鏋滐細




DHCP澶囦唤鐨勬晥鏋




DHCP鍜孌NS鑷姩鎭㈠浠g爜锛

===============================================
@echo Smoile's 缃戠涔嬭矾 (c) 2005-2007 All Right Resevices
@echo 鍒朵綔缁存姢锛歴moile
@echo 鎶鏈敮鎸侊細www.smoile.com
@echo銆銆(銆@ @銆)
@echo 鈹忊攣oOOo-(_)-oOOo鈹佲攣鈹佲攣鈹佲攣鈹佲攣鈹佲敁
@echo 鈹 璋㈣阿浣犵殑鏀寔www.smoile.com      鈹
@echo 鈹                                 鈹
@echo 鈹冦 oooO銆                      銆鈹
@echo 鈹椻攣(銆 )-鈹丱ooo 鈹佲攣鈹佲攣鈹佲攣鈹佲攣鈹佲敍
@echo 銆銆 \ (銆 ( 銆)
@echo 銆銆銆\_)銆 ) /
@echo 銆銆銆銆銆 (_/

@echo  Resume DNS config start鈥︹︹︹
net stop dns
::鎶.dns鏂囦欢鎷疯礉鍒皊ystem32\dns涓
copy d:\backup\DNS\*.dns c:\windows\system32\dns /y
::瀵煎叆娉ㄥ唽琛ㄦ枃浠
reg import d:\backup\DNS\DNS-1.reg
reg import d:\backup\DNS\DNS-2.reg
net start dns
@echo DNS Resume complete!
@echo Resume DHCP config start鈥︹︹︹
::鎭㈠dhcp鏂囦欢
net stop tcpsvcs
netsh exec d:\backup\dhcp\dhcp_bak.txt
net start tcpsvcs
echo DHCP config resume complete!
echo off
exit
===========================================

杩欓噷娑夊強鍒版敞鍐岃〃鐨勫鍑哄拰瀵煎叆闂
瀵煎嚭锛
regedit /e filename path
褰撳嚭鐜扮┖鏍兼椂瑕佺敤寮曞彿鎶婃暣涓矾寰勫紩璧锋潵锛屼笉鐒跺湪dos涓嬫槸涓嶈瘑鍒┖鏍肩殑

瀵煎叆锛
寮濮嬬殑鏃跺欏疄浜嗕笅regedit /s鍛戒护锛屽ソ鍍忔病鏈夌敤锛屾墍浠ョ敤浜唕eg import鍛戒护锛屽湪windows 2003涓嬮氳繃娴嬭瘯锛

鍘熷垱鏂囩珷锛岃浆杞借娉ㄦ槑鍑哄锛



鏂囩珷鏉ヨ嚜: 鏈珯鍘熷垱
Tags: DNS DHCP 澶囦唤 鎭㈠ 鎵瑰鐞 娉ㄥ唽琛 windows 2003 2003 windows
鐩稿叧鏃ュ織:

鐗瑰埆澹版槑锛
鈶 鏈珯鍙戣〃鐨勬棩蹇椾粎灞炰釜浜鸿鐐癸紱
鈶 鏃ュ織涓湭娉ㄦ槑"绂佹杞浇"瀛楁牱鐨勬枃绔狅紝濡傞渶杞浇锛岃娉ㄦ槑鍑哄锛屽苟涓斾繚鐣欐鏃ュ織鐨勯摼鎺ワ紱
鈶 绂佹鐩楅摼鏈珯鎵鏈夊浘鐗囥佽蒋浠躲佸奖闊虫枃浠跺湴鍧锛
鈶 鏈珯鎻愪緵涓嬭浇鐨勮祫婧愶紝浠呬緵鍙傝冩垨娴嬭瘯,涓嬭浇璇疯嚜琛屾潃姣掋傚閫犳垚浠讳綍涓嶈壇鍚庢灉锛屾涓嶈礋璐o紱
鈶 濡傛湁浠讳綍鐤戦棶锛岃闅忔椂涓庣珯闀胯仈绯伙細webmaster#smoile.com | smoile's缃戠涔嬭矾 銆
鈶 JPG鏍煎紡璇蜂娇鐢ACDSee宸ュ叿闃呰锛孭DF鏍煎紡璇蜂娇鐢Adobe Reader闃呰锛孌OC鏍煎紡璇蜂娇鐢∣ffice Word闃呰锛孯AR鏍煎紡璇风敤WINRAR闃呰銆
鍏嶈矗澹版槑:
銆銆姝ら〉闈㈡彁渚涚殑鏂囦欢鍧囬氳繃NOD32鏉姣掕蒋浠舵壂鎻忔棤姣锛岃鏀惧績浣跨敤锛屼絾涔熺儲璇锋偍鍦ㄤ笅杞藉悗鍐嶆煡姣掍竴娆$‘淇濇枃浠跺畨鍏紝濡傛湰鏂囦欢瀵规偍鐨勮绠楁満閫犳垚鍗卞锛屾湰绔欎笉璐熻矗浠汇
銆銆鏈珯鎵鍒婅浇鍐呭鍧囦负涓汉鎾板啓鎴栦粠缃戠粶涓婃敹闆嗘暣鐞嗭紝骞朵笖浠ヨ绠楁満鎶鏈爺绌朵氦娴佷负鐩殑锛屼粎渚涘ぇ瀹跺弬鑰冿紝涓嶅瓨鍦ㄤ换浣曞晢涓氱敤閫斻備笉寤鸿鎮ㄥ皢鍏跺綋浣滄妧鏈缓璁垨鎿嶄綔寮曞鑰屾牴鎹叾鐩存帴琛屼簨銆傝嫢鎮ㄩ渶瑕佹妧鏈湇鍔★紝鎮ㄥ簲褰撴寮忓鎵樹笓涓氬叕鍙镐互淇濋殰鎮ㄧ殑鍚堟硶鏉冪泭銆傝繖浜涗俊鎭湁鍙兘涓嶆槸鏈鏂扮殑銆佸畼鏂圭殑淇℃伅锛屼篃鍙兘鏄负浜嗙爺绌舵煇涓鎶鏈棶棰樿屾彺寮曡嚜浠栧锛屽彲浠ヤ笉缁忛氱煡鑰屾洿鏀广傚鏋滄湰缃戠珯鍐呭涓嶆厧渚电姱浜嗘偍鐨勭増鏉冿紝璇蜂笌鎴戣仈绯伙紝鎴戝皢鍙婃椂澶勭悊锛屾挙涓嬬浉鍏冲唴瀹癸紒
璇勮: 0 | 寮曠敤: 0 | 鏌ョ湅娆℃暟: 10742
灏忔彁绀猴細鏂囦欢涓嬭浇涓嶄簡锛熶负浜嗛槻姝㈢洍閾炬帴锛屾湰绔欏仛浜嗘妧鏈鐞嗭紝闇瑕佷笅杞界殑缃戝弸璇烽槄璇杩欓噷锛岃幏鍙栭閫熶笅杞藉湴鍧銆
鍙戣〃璇勮
涓洪槻姝㈡敞鍐屾満鐨勪娇鐢,鏈郴缁熷凡绂佹UBB浠g爜锛
璇峰湪鐣欒█涓嬁浣跨敤杩欎簺鍏抽敭瀛
鏄点绉:
瀵嗐鐮: 娓稿鍙戣█涓嶉渶瑕佸瘑鐮.
楠岃瘉鐮:
鍐呫瀹:
閫夈椤:
铏界劧鍙戣〃璇勮涓嶇敤娉ㄥ唽锛屼絾杩樻槸寤鸿鎮娉ㄥ唽璐﹀彿(姣忓ぉ0鈥8鐐圭姝㈡敞鍐).
瀛楁暟闄愬埗 1000 瀛 | UBB浠g爜 鍏抽棴 | [img]鏍囩 鍏抽棴