P
Penang
Hi, all !
I've tested IPConfig /flushdns command and found out that it doesn't
work. But before I go on, here are some background details...
My connection to the net is via ADSL, dynamic link. In theory, the use
of the following 3 commands:-
ipconfig /flushdns
ipconfig /release
ipconfig /renew
supposed to flush out the "old" dns, and obtain a "new" one.
So I made a batch file (ip.bat) with the following command:-
ipconfig /flushdns
ipconfig /release
ipconfig /renew
ipconfig /all
and run 2 tests, about 20 minutes apart.
The result is, the dns and the IPs stayed the same !!
The IP for test #1 is 118.101.50.219, so is test #2 !
I wonder if I have done something wrong. If I do, please tell me.
Thank you !
= = = = =============================================
Here are the complete test results: ----
Test #1:
D:\>ipconfig/flushdns
Windows IP Configuration
Successfully flushed the DNS Resolver Cache.
D:\>ipconfig/release
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 0.0.0.0
Subnet Mask . . . . . . . . . . . : 0.0.0.0
Default Gateway . . . . . . . . . :
PPP adapter {9552DD77-E324-4E85-B801-1C1B61CACEF1}:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 118.101.50.219
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 118.101.50.219
D:\>ipconfig/renew
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.1.3
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
PPP adapter {9552DD77-E324-4E85-B801-1C1B61CACEF1}:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 118.101.50.219
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 118.101.50.219
D:\>ipconfig/all
Windows IP Configuration
Host Name . . . . . . . . . . . . : MetalShaving
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VIA Compatable Fast
Ethernet Adapter #2
Physical Address. . . . . . . . . : 00-E0-4D-32-CE-8F
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.3
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 192.168.1.1
Lease Obtained. . . . . . . . . . : Wednesday, October 22,
2008 11:33:36 PM
Lease Expires . . . . . . . . . . : Friday, November 21,
2008 11:33:36 PM
PPP adapter {9552DD77-E324-4E85-B801-1C1B61CACEF1}:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
Physical Address. . . . . . . . . : 00-53-45-00-00-00
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 118.101.50.219
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 118.101.50.219
DNS Servers . . . . . . . . . . . : 202.188.0.133
202.188.1.5
Test #2:
D:\>ipconfig/flushdns
Windows IP Configuration
Successfully flushed the DNS Resolver Cache.
D:\>ipconfig/release
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 0.0.0.0
Subnet Mask . . . . . . . . . . . : 0.0.0.0
Default Gateway . . . . . . . . . :
PPP adapter {9552DD77-E324-4E85-B801-1C1B61CACEF1}:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 118.101.50.219
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 118.101.50.219
D:\>ipconfig/renew
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.1.3
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
PPP adapter {9552DD77-E324-4E85-B801-1C1B61CACEF1}:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 118.101.50.219
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 118.101.50.219
D:\>ipconfig/all
Windows IP Configuration
Host Name . . . . . . . . . . . . : MetalShaving
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VIA Compatable Fast
Ethernet Adapter #2
Physical Address. . . . . . . . . : 00-E0-4D-32-CE-8F
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.3
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 192.168.1.1
Lease Obtained. . . . . . . . . . : Wednesday, October 22,
2008 11:58:36 PM
Lease Expires . . . . . . . . . . : Friday, November 21,
2008 11:58:36 PM
PPP adapter {9552DD77-E324-4E85-B801-1C1B61CACEF1}:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
Physical Address. . . . . . . . . : 00-53-45-00-00-00
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 118.101.50.219
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 118.101.50.219
DNS Servers . . . . . . . . . . . : 202.188.0.133
202.188.1.5
I've tested IPConfig /flushdns command and found out that it doesn't
work. But before I go on, here are some background details...
My connection to the net is via ADSL, dynamic link. In theory, the use
of the following 3 commands:-
ipconfig /flushdns
ipconfig /release
ipconfig /renew
supposed to flush out the "old" dns, and obtain a "new" one.
So I made a batch file (ip.bat) with the following command:-
ipconfig /flushdns
ipconfig /release
ipconfig /renew
ipconfig /all
and run 2 tests, about 20 minutes apart.
The result is, the dns and the IPs stayed the same !!
The IP for test #1 is 118.101.50.219, so is test #2 !
I wonder if I have done something wrong. If I do, please tell me.
Thank you !
= = = = =============================================
Here are the complete test results: ----
Test #1:
D:\>ipconfig/flushdns
Windows IP Configuration
Successfully flushed the DNS Resolver Cache.
D:\>ipconfig/release
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 0.0.0.0
Subnet Mask . . . . . . . . . . . : 0.0.0.0
Default Gateway . . . . . . . . . :
PPP adapter {9552DD77-E324-4E85-B801-1C1B61CACEF1}:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 118.101.50.219
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 118.101.50.219
D:\>ipconfig/renew
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.1.3
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
PPP adapter {9552DD77-E324-4E85-B801-1C1B61CACEF1}:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 118.101.50.219
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 118.101.50.219
D:\>ipconfig/all
Windows IP Configuration
Host Name . . . . . . . . . . . . : MetalShaving
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VIA Compatable Fast
Ethernet Adapter #2
Physical Address. . . . . . . . . : 00-E0-4D-32-CE-8F
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.3
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 192.168.1.1
Lease Obtained. . . . . . . . . . : Wednesday, October 22,
2008 11:33:36 PM
Lease Expires . . . . . . . . . . : Friday, November 21,
2008 11:33:36 PM
PPP adapter {9552DD77-E324-4E85-B801-1C1B61CACEF1}:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
Physical Address. . . . . . . . . : 00-53-45-00-00-00
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 118.101.50.219
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 118.101.50.219
DNS Servers . . . . . . . . . . . : 202.188.0.133
202.188.1.5
Test #2:
D:\>ipconfig/flushdns
Windows IP Configuration
Successfully flushed the DNS Resolver Cache.
D:\>ipconfig/release
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 0.0.0.0
Subnet Mask . . . . . . . . . . . : 0.0.0.0
Default Gateway . . . . . . . . . :
PPP adapter {9552DD77-E324-4E85-B801-1C1B61CACEF1}:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 118.101.50.219
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 118.101.50.219
D:\>ipconfig/renew
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.1.3
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
PPP adapter {9552DD77-E324-4E85-B801-1C1B61CACEF1}:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 118.101.50.219
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 118.101.50.219
D:\>ipconfig/all
Windows IP Configuration
Host Name . . . . . . . . . . . . : MetalShaving
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VIA Compatable Fast
Ethernet Adapter #2
Physical Address. . . . . . . . . : 00-E0-4D-32-CE-8F
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.3
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 192.168.1.1
Lease Obtained. . . . . . . . . . : Wednesday, October 22,
2008 11:58:36 PM
Lease Expires . . . . . . . . . . : Friday, November 21,
2008 11:58:36 PM
PPP adapter {9552DD77-E324-4E85-B801-1C1B61CACEF1}:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
Physical Address. . . . . . . . . : 00-53-45-00-00-00
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 118.101.50.219
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 118.101.50.219
DNS Servers . . . . . . . . . . . : 202.188.0.133
202.188.1.5