MB DNS Updates
This topic describes the operations to notify the MB Service about DNS address updates.
Miniport drivers should set the NameServer registry key to update Windows about DNS address changes. The following table describes the appropriate registry key, the expected value and an example string for IPv4 and IPv6 networks. If a miniport driver supports only IPv4 networks, it should set only the IPv4 registry key. Miniport drivers should set the appropriate registry key(s) before they notify Windows about media connect events by sending NDIS_STATUS_LINK_STATE notifications.
IPv4 / IPv6 | Registry Key | Value | Example |
---|---|---|---|
IPv4 |
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\InterfaceGUID\NameServer |
Space-separated DNS server IPv4 addresses |
10.20.30.41 10.20.30.40 |
IPv6 |
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\Interfaces\InterfaceGUID\NameServer |
Space-separated DNS server IPv6 addresses |
2001:4898:7001:f000:1:2:3:4 2001:4898:7001:f000:1:2:3:5 |
These operations should be used only when the miniport driver specifies EnableDhcp to equal zero in its INF file. That is, the miniport driver does not implement DHCP.
For more information about processing IP address notifications, see Guidelines for MB Miniport driver IP Address Notifications.