Domain Name System Flashcards
(38 cards)
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
Define
DNS Resource Record: Mail Exchanger (ME)
DNS
Directs email to a specific server
Define
DNS Resource Record: Start of Authority (SOA)
DNS
Specifies core information (name server, email of domain admin)
Define
DNS Caching
DNS
Holds the responses for repeated translations
Describe
DNS Caching: Negative Queries
DNS
Non-existing host names
Limitation of DNS Caching
DNS
Cache will periodically time out
Who controls the DNS cache and what happens to it at every record?
DNS
DNS cache is controlled by data owner and it is passed with every record
Define
Kamisky Blind Spoofing
DNS
Injecting forged replies with different IDs in hopes of matching victim’s queries
Defenses against Kamisky Blind Spoofing
DNS
- Usage of random source ports
- Increased entorpy/load of DNS
Components of DNS Query
DNS
- Question includes query
- ID
- Answer section = resource record + IP addr of domain name + lifetime of cache to answer
- Authority of host name servers behind the answers
- Additional section = supplemental info