“Windows命令行Cmd下网络及账户设置更改”的版本间的差异

来自DeerGrove Wiki
跳转至: 导航搜索
(创建页面,内容为“category:IS netsh interface ip set dns "本地连接" dhcp netsh interface ip set dns "本地连接" static 192.168.x.xxx”)
 
第1行: 第1行:
 
[[category:IS]]
 
[[category:IS]]
  
netsh interface ip set dns "本地连接" dhcp
+
# netsh interface ip set dns "本地连接" dhcp
netsh interface ip set dns "本地连接" static 192.168.x.xxx
+
# netsh interface ip set dns "本地连接" static 192.168.x.xxx
 +
# ipconfig /flushdns,刷新本地的DNS缓存数据

2020年6月17日 (三) 10:27的版本


  1. netsh interface ip set dns "本地连接" dhcp
  2. netsh interface ip set dns "本地连接" static 192.168.x.xxx
  3. ipconfig /flushdns,刷新本地的DNS缓存数据