Networking
Direct download links are not yet automatically updated. Exceptions are version agnostic links for the last/current version (like TCPView).So do not trust links, always try to download the latest version of the soft by browsing the soft website.
If in a quick need though, it may help.
Command line
Windows integrated
-ping
(-d
or -df
to specify fragmentation)-
nslookup
(nslookup $IP/$DNS
to resolve an IP to a domain name and vice-versa, nslookup
without parameters enters interactive mode [enter an IP/DNS to resolve with default server, or enter > server $IP
to change the nameserver])-
ipconfig
(ipconfig /all
, ipconfig /renew LAN
to renew only the LAN adapter)-
arp
(arp -a
to list current entries, arp -d *
to delete all cache entries, arp -s $IP $MAC
to add a static entry)-
tracert
(tracert $IP/$DNS
)-
netsh
Examples, to change IP addresses of a network adapter:
DHCP
Static
Save/restore config
netsh interface ipv4 set address "LAN" [source=]dhcp
netsh interface ipv4 set dns "LAN" [source=]dhcp
netsh interface ipv4 set address "LAN" static IP_ADDRESS NETMASK GATEWAY METRIC
netsh interface ipv4 set address "LAN" static 192.168.1.222 255.255.255.0 192.168.1.1 1
netsh interface ipv4 add address �LAN� 169.254.1.111 255.255.0.0
netsh interface ipv4 set dns "LAN" static 192.168.1.1 primary (register under the primary DNS suffix)
netsh interface ipv4 set dns "LAN" static 192.168.1.1 none (disables dynamic DNS registration)
netsh interface dump > c:\curr_ip_settings.txt
netsh -f c:\curr_ip_settings.txt
To download/install
- dig : websitedig domain.ext ANY
dig +nocmd domain.ext any +multiline +noall +answer
Zone transfers (need rights to do them):
dig @ns.domain.ext domain.ext
dig -tAXFR domain.ext
host -t axfr domain.ext ns.domain.ext ANY
host -l domain.ext
- TCPView: website - DDL
- nmap: website - DDL cmdline only (see also zenmap, the GUI for nmap)
GUI apps
- Wireshark: website- zenmap: DDL installer