Windowsでネイティブdnsを変更
2663 ワード
1 windows
2
3 1. hosts, : C:\WINDOWS\system32\drivers\etc hosts , :
4
5 #127.0.0.1 localhost
6 127.0.0.1 jack.xiaojf.com
7
8 2. dns
9 cmd :
10
11 dns:
12 ipconfig /flushdns
13
14 dns:
15 ipconfig /displaydns
16
17 jack.xiaojf.com
18 ----------------------------------------
19 Record Name . . . . . : jack.xiaojf.com
20 Record Type . . . . . : 1
21 Time To Live . . . . : 0
22 Data Length . . . . . : 4
23 Section . . . . . . . : Answer
24 A (Host) Record . . . : 127.0.0.1
25
26 3. :
27 cmd :
28 nslookup
29 : nslookup jack.xiaojf.com