DNS Server Configuration Flashcards

1
Q

DNS Server

A
  • Essential to the function of the internet, Windows active directory and linux networks
  • Usually configured to listen for queries on UDP port 53
  • Some allow TCP connections over port 53
  • Maintains DNS namespace in zones
  • May be configured to manage multiple zones
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Primary Zone

A
  • Zone records on server are editable
  • Zone can be hosted by multiple primary servers for redundancy
  • Changes must be carefully replicated and synced between servers
  • Serial number must be updated for each change
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Secondary Zone

A
  • Server can hold read-only copies of the zone
  • Maintained through replication process call zone transfer from primary name server
  • Typically provided on two or more separate servers to provide fault tolerance and load balancing
  • Serial number is critical part of zone transfer process
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Authoritative server

A
  • Name server that holds complete records for a domain
  • Record in zone identifies server as a name server for that namespace
  • Both primary and secondary name servers are authoritative
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Cache only servers

A
  • Don’t maintain a zone(primary or secondary)

- Non-authoritative answer is one that derives from a cached record, rather than from zone records

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

TTL

A
  • Configured on resource record, measured in seconds
  • Instructs resolvers how long a query result can be kept in cache
  • Lower allows records to be updated more quickly, but increases load on servers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

DNS Caching

A
  • Performer by both servers and client computers
  • Each application on a client computer could be configured to manage its own DNS cache
  • If there is a change to a resource record, caching means it updating can take time to propagate
  • Planning for a change involved reducing TTL before change and waiting for the change to propagate before updating record, then reverting to original TTL after
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Internal DNS Zones

A
  • Domains use on private networks only
  • Name records should only be available to internal clients
  • Name servers hosting internal subdomains should not be accessible from the internet
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

External DNS Zones

A
  • Records that internet clients must be able to access
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Resolver

A
  • Performs recursive queries in response to requests from client systems(stub resolvers)
  • If name server is not authoritative for requested domain, it can perform recursive query to locate authoritative name server or forward request to other server
  • Might be configured with root hints file so it can query whole DNS hierarchy from root servers down
  • Must allow recursive lookups from authorized internal clients only
  • Usually separate from servers that house zone records
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Forwarding

A
  • Alternative to recursive lookups
  • Name server can be configured to resolve queries via forwarding
  • Forwards query to another DNS server and routes reply back to client
  • Conditional forwarded performs task for certain domains only
  • Example might be server that is authoritative for local networks(internal DNS) but forwards requests for internet domains to external resolver run by ISP
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

nslookup

A
  • Command used to troubleshoot DNS name resolution

nslookup “-option host” “DNSServer”

  • Host can be host name, domain name FQDN or ip address
  • DNSServer is ip of server used to resolve query(Default is used if argument is omitted)
  • Option specifies an nslookup subcommand
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Resolve-DNSName

A
  • Powershell CMDlet

- Allows flexible testing of name resolution

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

DIG

A

Domain Information Groper

  • Command line tool for querying DNS servers
  • Can be run pointing at specific DNS server, otherwise it uses default resolver
  • You can add parameters like +nocomments and +nostats which reduce output
How well did you know this?
1
Not at all
2
3
4
5
Perfectly