Sunday, February 1, 2009

WriteAuthorityNs Registry Key

This registry determines wheather dns server should write NS (name server) records in the Authority section of a dns response packet.

By default, Windows Operating Systems, DNS server in to the Authority section of a response packets in the following scenarios.
1. For NS records when making a referral.
2. For SOA record is allowed caching of a NAME_ERROR response.
Key Name: WriteAuthorityNs
Type: REG_WORD (Bool)
Default: NoKey (Do not write unnecessary NS records)
Functionality: Writes NS records in to authority section in the response packet.
Location: "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
If the reg key is nonzero, the server will write NS records of the zone into the Authority section
If the registry key does not exist or is zero, the server acts by default behavior as described above.

To set this registry key, run
reg add "HKLM\SYSTEM\CurrentControlSet\Services\DNS\Parameters" /v WriteAuthorityNs /t reg_dword /d 1


Design by infinityskins.blogspot