Application Layer DNS Flashcards
What do devices get assigned
numerical ip addresses
What are domain names labels for
these ip addresses
What does DNS do
converts domain names into ip adresses
What layer does DNS belong to in the OSI model
The application Layer (layer 7)
What are the components of the URL
Scheme, Authority (Host, Domain, Port), Path, Query, Fragment.
How does DNS map hostnames and IP addresses
One hostname → Multiple IPs (Load balancing).
Multiple hostnames → One IP (Shared hosting).
What are the two main requirements of DNS
Scalability and security
How is DNS structured hierarchically
Root Servers (.) – Direct traffic to TLD servers.
TLD Servers – Manage .com, .org, .uk, etc.
Authoritative Servers – Store actual domain records.
What are the root DNS servers and why are they important
13 logical root servers manage DNS globally.
First point of contact when resolving domain names.
Ensures redundancy & reliability.
What are Top Level Domain (TLD) servers
Manage Organizational TLDs (.com, .org, .gov).
Manage Geographical TLDs (.uk, .us, .fr).
Controlled by ICANN.
What do Authoritative DNS servers do
Hold the actual DNS records and respond to queries.
How does the DNS lookup process work
- Client sends a query to DNS Resolver.
- Resolver checks cache (if cached, returns result).
- If not cached, resolver queries Root DNS Server.
- Root Server directs to TLD Server (e.g., .com).
- TLD Server directs to Authoritative Server.
- Authoritative Server returns the IP address.
- Resolver caches response for future use.
What security issues affect DNS
Cache Poisoning – Fake DNS responses redirect users to malicious sites.
Spoofing & Man-in-the-Middle Attacks – Hackers intercept DNS traffic.
What is the solution to DNS security issues
DNSSEC (Domain Name System Security Extensions) – Uses digital signatures to verify DNS responses.
How does DNSSEC work?
- DNS Data is hashed to create a digital fingerprint.
- Digital Signature is created using a private key.
3, Signature is attached to DNS response. - Client verifies response using public key.