Configuring and Troubleshooting DNS Flashcards
How do you install DNS using PowerShell?
Install-WindowsFeature -Name DNSServer -IncludeManagementTools
- Iterative Query
- Recursive Query
- Iterative Query - Server returns the best answer, it never sends out an additional query. It may refer you to another server through a referral
- Recursive Query - client asks server to respond either with the requested answer or with an error
What is the difference between a Forwarder and a Conditional Forwarder?
- Forwarder: If the name query cannot be resolved using its local zone data or cache, then it will forward the query to the DNS server designated as a forwarder
- Conditional Forwarder: Conditional forwarders are DNS servers that only forward queries for specific domain names
How do you configure a DNS forwarder?
- Open DNS Manager
- Right-Click the Server, and select Properties
- Select the Forwarders tab
- Select Edit
- Add the IP Address or DNS Name
- Add the number of seconds before the forward query times out
How do you configure a conditional forward?
- Open DNS Manager
- Expand the Server
- Right-Click Conditional Forwarders, Select New Conditional Forwarder
- Add the IP Address
- Select if you want to store the conditional forwarder in AD
What is the following DNS record?
SOA
Start of Authority Record
What is the following DNS record?
A
Host Address Record (IPv4)
What is the following DNS record?
CNAME
Alias Record
What is the following DNS record?
MX
Mail Exchanger Record
What is the following DNS record?
SRV
Service Locator Record
What is the following DNS record?
NS
Name Server Record
What is the following DNS record?
AAAA
IPv6 host address record
What is the following DNS record?
PTR
Pointer resource record
How would you create a DNS Record in PowerShell?
- A
- AAAA
- CName
- MX
- PTR
- How would you create an other type of record?
- Add-DnsServerResourceRecordA
- Add-DnsServerResourceRecordAAAA
- Add-DnsServerResourceRecordCName
- Add-DnsServerResourceRecordMX
- Add-DnsServerResourceRecordPtr
- Add-DnsServerResourceRecord
- Follow-up Question: Can it create the records mentioned before and how?
- Answer: Yes, just append a dash record type to the cmdlet
- Follow-up Question: Can it create the records mentioned before and how?
What are the following types of zones?
- Primary
- Secondary
- Stub
- Active-Direcotry integrated
- Read/Write copy of a DNS Database
- Read-Only copy of a DNS database
- Copy of a zone that contains only records used to locate name servers
- Zone data is storead in AD rather than in Zone Files
Where would you configure Zone Transfers?
What are your options?
- The Zone Properties and the Zone Transfer Tab
- Options:
- Any Server
- Name Server
- Only the following Servers:
- Options:
How would you configure Zone Tranfers via PowerShell?
Set-DnsServerPrimaryZone -Name <zone> -SecureSecondaries </zone>
- NoTransfer - No transfers are allowed for this zone from this server.
- TransferAnyServer - Any server can request a zone transfer, including servers that you know nothing about and don’t manage or control.
- TransferToZoneNameServer - Only servers in the NS records for this zone are allowed to request transfers.
- TransferToSecureServers - Only servers specified with the -SecondaryServers
parameter are allowed to request a zone transfer.- ex. Set-DnsServerPrimaryZone -Name <zone> -SecureSecondaries -SecondaryServers <ipv4></ipv4></zone>
Where would you configure notifications so that Name Servers are up to date?
What are the options?
The Zone Properties, Zone Transfers Tab, select the Notify Button
- Servers listed on the name servers tab
- The Following Servers