Domain Name System Flashcards
Define
Host Names
DNS
Mnemonic/easily memorable for humans
Define
Domain Name System
DNS
Provides translation from host name to IP address
DNS is what type of distributed database that leverages what?
DNS
A performance-critical distributed database that leverages caches
Why is DNS needed?
DNS
For SOP assumptions and web security
What is the hiearchy of name servers?
DNS
Root servers > Authoritative name servers > Local Name resolver
Where are root servers?
DNS
Hardcoded into other servers
What are root servers for?
DNS
Top-level domains (TLD)
What are authoritative name servers for?
DNS
Subdomains
What does local name resolvers do?
DNS
Caches name resolution results
What does the local name resolver go to for non-cached names?
DNS
Authoritative name servers
Describe
DNS Lookup
DNS
- Client requests information
- Local resolver fetches from Root DNS => TLD DNS server => Authoritative DNS sever
- Local resolver returns information to client
Describe
Components of DNS Packet
DNS
Source/dest ports, length, checksum, query ID, questions/answers, authority, additional info
List DNS Resource Records
DNS
- Address Mapping (A)
- Canonical Name (CNAME)
- Mail Exchanger (ME)
- Name Server (NS)
- Start of Authority (SOA)
Define
DNS Resource Record: Address Mapping (A)
DNS
Maps host to IP Address
Define
DNS Resource Record: Canonical Name (CNAME)
DNS
Maps host to alias