How To Enable Publishing Of APIPA Records In DNS Server

by Nirmal Sharma [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

Featured Links