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.



The Author — Nirmal Sharma

Nirmal Sharma avatar

Nirmal Sharma is a MCSEx3, MCITP, and was awarded Microsoft MVP in Directory Services. In his spare time, he likes to help others and share some of his knowledge by writing tips and articles for various online communities. Nirmal can also be found contributing to PowerShell based Dynamic Packs for ADHealthProf.ITDynamicPacks.Net solutions.

Latest Contributions

Featured Links