PublishAddresses

HKLM\SYSTEM\CurrentControlSet\Services\DNS\Parameters

Data type Range Default value
REG_SZ IP address [IP address] (Blank)

Description

Specifies the IP addresses you want to publish for the computer. The DNS server creates A records only for the address in this list.

If this entry does not appear in the registry, or if its value is blank, the DNS server creates an A record for each of the computer's IP addresses.

This entry is designed for computers with multiple IP addresses, where you prefer to publish only a subset of the available addresses. Typically, this is used to prevent the DNS server from returning a private network address in response to a query, when the computer has a corporate network address.

Activation method

DNS reads its registry entries only when it starts. You can change entries while the DNS server is running by using the DNS console. If you change entries by editing the registry, the changes are not effective until you restart the DNS server.

Note Image Note

The DNS server does not add this entry to the registry. You can add it by editing the registry or by using a program that edits the registry.