DNS Flashcards

1
Q

What are DNS record types?

A

DNS record types are different kinds of data entries in a DNS database that provide specific information about a domain, such as its IP address, mail servers, and other resources

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the difference between an A record and an AAAA record?

A

A Record: Maps a domain name to an IPv4 address.
AAAA Record: Maps a domain name to an IPv6 address.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a CNAME record?

A

A CNAME (Canonical Name) record maps an alias name to the true or canonical domain name, essentially redirecting one domain name to another.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is an MX record?

A

An MX (Mail Exchange) record specifies the mail servers responsible for receiving email for a domain, including their priority.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is an SOA record?

A

An SOA (Start of Authority) record provides important information about a DNS zone, including the primary name server, the administrator’s email, the zone’s serial number, and timers for zone transfers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a PTR record?

A

A PTR (Pointer) record maps an IP address to a domain name, used mainly for reverse DNS lookups to verify the IP address’ associated domain name.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a TXT record?

A

A TXT (Text) record allows the insertion of arbitrary text into DNS, commonly used for email validation (e.g., SPF, DKIM) and other verification purposes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is an SRV record?

A

An SRV (Service) record defines the location (hostname and port) of servers for specific services, used to direct traffic to appropriate servers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is an NS record?

A

An NS (Name Server) record specifies which DNS servers are authoritative for a particular zone, helping direct queries to the correct servers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the global hierarchy in DNS?

A

The global hierarchy in DNS is the structured organization of DNS servers, starting from the root servers, followed by top-level domain (TLD) servers, and then authoritative servers for individual domains, ensuring a scalable and distributed system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are root DNS servers?

A

Root DNS servers are the top level in the DNS hierarchy, responsible for directing queries to the appropriate top-level domain (TLD) servers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the difference between internal and external DNS?

A

internal DNS: Resolves hostnames within a private network.

External DNS: Resolves public domain names on the internet.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are zone transfers in DNS?

A

Zone transfers are the process of copying DNS zone data from a primary DNS server to a secondary DNS server, ensuring consistency and redundancy.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are authoritative name servers?

A

Authoritative name servers are DNS servers that hold the definitive records for a domain and can provide accurate responses to DNS queries for that domain.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is Time to Live (TTL) in DNS?

A

TTL (Time to Live) is the duration in seconds that a DNS record is cached by DNS resolvers before it is refreshed. It helps manage how long DNS information is considered valid.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is DNS caching?

A

DNS caching is the process of storing DNS query results temporarily to speed up subsequent requests to the same domain by reducing the need for repeated queries to the DNS server.

17
Q

What is a recursive lookup in DNS?

A

A recursive lookup is a DNS query where the DNS resolver takes full responsibility for resolving the domain name completely, querying multiple DNS servers if necessary, until it finds the final answer.

17
Q

What is reverse DNS/reverse lookup?

A

Reverse DNS or reverse lookup is the process of resolving an IP address back to its associated domain name, using PTR records.

17
Q

What is forward lookup?

A

Forward lookup is the process of resolving a domain name to its corresponding IP address, using A or AAAA records.

18
Q

What is an iterative lookup in DNS?

A

An iterative lookup is a DNS query where the DNS resolver may return the best answer it has, or refer the query to another DNS server, leaving the client to continue the query process.