Ways to resolve a name to an IP: #
- Local
- Can broadcast for name resolution
- one-to-one DNS name to IP address resolution possible
- Hosts file - Modern hosts automatically map hosts file to the host’s DNS resolver cache
- DNS - Resolves an IP using DNS
DNS Server Settings #
- Windows:
ipconfig /all
- DNS cache:
ipconfig /displaydns
- DNS cache:
- Linux:
cat /etc/resolv.conf
Process #
Starting with the local DNS server, the device resolves the name by working up from the root domain and the respective nameservers for those names.