Ticket #910: 6.txt

File 6.txt, 5.1 KB (added by tom.ty89, 6 years ago)

DNS resolution with ping and nslookup before/after route change

Line 
1Windows PowerShell
2Copyright (C) 2016 Microsoft Corporation. All rights reserved.
3
4PS C:\Windows\system32> route print
5===========================================================================
6Interface List
7 13...1c 1b 0d 12 34 56 ......Realtek PCIe GBE Family Controller
8  9...00 ff 3e b9 37 b9 ......TAP-Windows Adapter V9
9  1...........................Software Loopback Interface 1
10  2...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
11===========================================================================
12
13IPv4 Route Table
14===========================================================================
15Active Routes:
16Network Destination        Netmask          Gateway       Interface  Metric
17          0.0.0.0          0.0.0.0    192.168.0.254    192.168.1.137     26
18          0.0.0.0        128.0.0.0      10.199.21.1     10.199.21.42    291
19      10.199.21.0    255.255.255.0         On-link      10.199.21.42    291
20     10.199.21.42  255.255.255.255         On-link      10.199.21.42    291
21    10.199.21.255  255.255.255.255         On-link      10.199.21.42    291
22        127.0.0.0        255.0.0.0         On-link         127.0.0.1    331
23        127.0.0.1  255.255.255.255         On-link         127.0.0.1    331
24  127.255.255.255  255.255.255.255         On-link         127.0.0.1    331
25        128.0.0.0        128.0.0.0      10.199.21.1     10.199.21.42    291
26          x.x.x.x  255.255.255.255    192.168.0.254    192.168.1.137    281
27      192.168.0.0    255.255.254.0         On-link     192.168.1.137    281
28    192.168.1.137  255.255.255.255         On-link     192.168.1.137    281
29    192.168.1.255  255.255.255.255         On-link     192.168.1.137    281
30        224.0.0.0        240.0.0.0         On-link         127.0.0.1    331
31        224.0.0.0        240.0.0.0         On-link      10.199.21.42    291
32        224.0.0.0        240.0.0.0         On-link     192.168.1.137    281
33  255.255.255.255  255.255.255.255         On-link         127.0.0.1    331
34  255.255.255.255  255.255.255.255         On-link      10.199.21.42    291
35  255.255.255.255  255.255.255.255         On-link     192.168.1.137    281
36===========================================================================
37Persistent Routes:
38  None
39
40IPv6 Route Table
41===========================================================================
42Active Routes:
43 If Metric Network Destination      Gateway
44  2    331 ::/0                     On-link
45  1    331 ::1/128                  On-link
46  2    331 2001::/32                On-link
47  2    331 2001:0:9d38:953c:a8:2109:f538:ead5/128
48                                    On-link
49  9    291 fe80::/64                On-link
50 13    281 fe80::/64                On-link
51  2    331 fe80::/64                On-link
52  2    331 fe80::a8:2109:f538:ead5/128
53                                    On-link
54  9    291 fe80::5c48:1511:51d5:3d0/128
55                                    On-link
56 13    281 fe80::f119:b108:afc5:b216/128
57                                    On-link
58  1    331 ff00::/8                 On-link
59  2    331 ff00::/8                 On-link
60  9    291 ff00::/8                 On-link
61 13    281 ff00::/8                 On-link
62===========================================================================
63Persistent Routes:
64  None
65PS C:\Windows\system32> nslookup openvpn.net
66Server:  google-public-dns-a.google.com
67Address:  8.8.8.8
68
69Non-authoritative answer:
70Name:    openvpn.net
71Addresses:  104.20.195.50
72          104.20.194.50
73
74PS C:\Windows\system32> ping openvpn.net
75
76Pinging openvpn.net [209.85.159.137] with 32 bytes of data:
77Request timed out.
78Request timed out.
79Request timed out.
80Request timed out.
81
82Ping statistics for 209.85.159.137:
83    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
84PS C:\Windows\system32> route change 0.0.0.0 mask 0.0.0.0 10.199.21.1
85 OK!
86PS C:\Windows\system32> nslookup openvpn.net
87Server:  google-public-dns-a.google.com
88Address:  8.8.8.8
89
90Non-authoritative answer:
91Name:    openvpn.net
92Addresses:  104.20.195.50
93          104.20.194.50
94
95PS C:\Windows\system32> ping openvpn.net
96
97Pinging openvpn.net [104.20.195.50] with 32 bytes of data:
98Reply from 104.20.195.50: bytes=32 time=336ms TTL=59
99Reply from 104.20.195.50: bytes=32 time=333ms TTL=59
100Reply from 104.20.195.50: bytes=32 time=340ms TTL=59
101Reply from 104.20.195.50: bytes=32 time=351ms TTL=59
102
103Ping statistics for 104.20.195.50:
104    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
105Approximate round trip times in milli-seconds:
106    Minimum = 333ms, Maximum = 351ms, Average = 340ms
107PS C:\Windows\system32> route change 0.0.0.0 mask 0.0.0.0 192.168.0.254
108 OK!
109PS C:\Windows\system32> nslookup openvpn.net
110Server:  google-public-dns-a.google.com
111Address:  8.8.8.8
112
113Non-authoritative answer:
114Name:    openvpn.net
115Addresses:  104.20.195.50
116          104.20.194.50
117
118PS C:\Windows\system32> ping openvpn.net
119
120Pinging openvpn.net [209.85.159.137] with 32 bytes of data:
121Request timed out.
122Request timed out.
123Request timed out.
124Request timed out.
125
126Ping statistics for 209.85.159.137:
127    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),