DNS - dejanu/linux GitHub Wiki
Domain Name System (TCP,UDP) port 53
The DNS server stores different types of resource records used to resolve names. These records contain the name, address, and type of record. Some of these record types are:
- A - An end device IPv4 address
- NS - An authoritative name server
- AAAA - An end device IPv6 address (pronounced quad-A)
- MX - A mail exchange record
The DNS servers are queried for any name that has to be resolved into an IP address that does not exist in the hosts file (C:\Windows\System32\drivers\etc).
Common examples include server names for URLs typed into an Internet browser. The DNS resolver cache will contain a history of names that have been resolved recently
ipconfig /displaydns
ipconfig /flushdns
eg. example.com = SecondLevelDomain.TopLevelDomain
When a DNS server receives a request for a name translation that is not within its DNS zone, the DNS server forwards the request to another DNS server within the proper zone for translation.