批處理dns伺服器地址
發布時間: 2024-06-28 01:37:24
㈠ 璇鋒暀濡備綍鐢ㄦ壒澶勭悊淇鏀笵NS璁劇疆錛
@echo
offnetsh
interface
ip
set
address
name="鏈鍦拌仈鎺"
source=static
addr=192.168.0.50
mask=255.255.255.0//璁劇疆鏈鍦拌仈鎺ョ殑ip鍦板潃涓猴細192.168.0.50錛屽瓙緗戞帺鐮佷負錛255.255.255.0netsh
interface
ip
set
address
name="鏈鍦拌仈鎺"
gateway=192.168.0.1
gwmetric=0//璁劇疆緗戝叧netsh
interface
ip
set
dns
name="鏈鍦拌仈鎺"
source=static
addr=218.40.19.30
register=PRIMARY//璁劇疆涓籨nsnetsh
interface
ip
add
dns
name="鏈鍦拌仈鎺"
addr=61.134.1.4//璁劇疆澶囦喚dnsnetsh
interface
ip
set
wins
name="鏈鍦拌仈鎺"
source=static
addr=none
緗戜笂鎵劇殑榪欐靛懡浠よ繍琛屽悗鏄劇ず錛氭寚瀹氫簡鏃犳晥鐨勬帴鍙
鏈鍦拌仈鎺
鎴戠殑緗戝崱鑱旀帴鐨勫悕縐扮『瀹炴槸
鏈鍦拌仈鎺
璇鋒暀榪欐槸浠涔堝師鍥犲晩錛
熱點內容