How To Enable Publishing Of APIPA Records In DNS Server

by [Published on 2 March 2011 / Last Updated on 10 Jan. 2010]

This article explains how you can use a small registry hack to enable building of APIPA records in DNS Server.

By default, DNS Servers do not publish or create DNS Resource Records (A) for APIPA Addresses. APIPA Addresses start with 169.x.x.x. These IP Addresses get assigned to the Network Card which are set to obtain IP Addresses from DHCP Server and when DHCP Server is unable to assign any IP Addresses. DNS Server do not creates the A Resource Record in the DNS database for these addresses. You might need to enable this for some reasons in your production environment.

To enable DNS Server to register A Records for APIPA, you need to change the following registry entry value to 1:

  • KEY Name: HKLM\System\CurrentControlSet\Services\DNS\Parameters
  • Entry Name: PublishAutonet
  • Type: REG_DWORD
  • Value: 0 (by default), (0=disabled, 1=enabled)

Setting value of PublishAutonet to 1 instructs DNS Server to build Resource Records for APIPA.



See Also

The Author — Nirmal Sharma

Nirmal Sharma avatar

Nirmal Sharma is a MCSEx3, MCITP and was awarded the Microsoft MVP award in Directory Services and Windows Networking. He specializes in Microsoft Azure, Office 365, Directory Services, Failover Clusters, Hyper-V, PowerShell Scripting and System Center products. Nirmal has been involved with Microsoft Technologies since 1994. In his spare time, he likes to help others and share some of his knowledge by writing tips and articles on various sites and contributing to PowerShell-based Dynamic Packs for www.ITDynamicPacks.Net solutions.

Featured Links