Information Technology Reference
In-Depth Information
FIGURE 3-23 The New Name Server Record dialog box
To create the NS record with Windows PowerShell, use the Add-DnsServerResourceRecord
cmdlet. For example:
Add-DnsServerResourceRecord -ZoneName "TreyResearch.net" `
-NS `
-Name "." `
-NameServer trey-srv-12.treyresearch.net `
-PassThru
The Windows PowerShell cmdlet produces no output unless you include the -PassThru
parameter. If you do include it, you see this:
HostName RecordType Timestamp TimeToLive RecordData
-------- ---------- --------- ---------- ----------
@ NS 0 01:00:00 trey-srv-12.treyresearch.net.
EXAM TIP
the NS record is a bit different from other resource records, and it's easy to get the fields
wrong with the Windows powerShell cmdlet. the Name field needs to be “(same as parent
folder)” (without the quotes), and the way to enter it is with a value of "." for the -Name
parameter. there are several compelling alternatives that the exam writers might offer as
distractors, but don't be seduced by them.
 
 
Search WWH ::




Custom Search