summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNick Khyl <nickk@tailscale.com>2026-01-16 11:21:17 -0600
committerNick Khyl <1761190+nickkhyl@users.noreply.github.com>2026-01-16 12:30:53 -0600
commit1478028591283068717b68bbf4ab90ccf01457ab (patch)
tree872e3612663fae569130076ff1b9805e661f8790
parent1cc6f3282e547fd38d77bf90e61d3ac5ebd62420 (diff)
downloadtailscale-1478028591283068717b68bbf4ab90ccf01457ab.tar.xz
tailscale-1478028591283068717b68bbf4ab90ccf01457ab.zip
docs/windows/policy: use a separate value to track the configuration state of EnableDNSRegistration
Policy editors, such as gpedit.msc and gpme.msc, rely on both the presence and the value of the registry value to determine whether a policy is enabled. Unless an enabledValue is specified explicitly, it defaults to REG_DWORD 1. Therefore, we cannot rely on the same registry value to track the policy configuration state when it is already used by a policy option, such as a dropdown. Otherwise, while the policy setting will be written and function correctly, it will appear as Not Configured in the policy editor due to the value mismatch (for example, REG_SZ "always" vs REG_DWORD 1). In this PR, we update the DNSRegistration policy setting to use the DNSRegistrationConfigured registry value for tracking. This change has no effect on the client side and exists solely to satisfy ADMX and policy editor requirements. Updates #14917 Signed-off-by: Nick Khyl <nickk@tailscale.com>
-rw-r--r--docs/windows/policy/tailscale.admx2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/windows/policy/tailscale.admx b/docs/windows/policy/tailscale.admx
index 7bd31ac9c..7cc174b06 100644
--- a/docs/windows/policy/tailscale.admx
+++ b/docs/windows/policy/tailscale.admx
@@ -231,7 +231,7 @@
<string>never</string>
</disabledValue>
</policy>
- <policy name="DNSRegistration" class="Machine" displayName="$(string.DNSRegistration)" explainText="$(string.DNSRegistration_Help)" presentation="$(presentation.DNSRegistration)" key="Software\Policies\Tailscale" valueName="EnableDNSRegistration">
+ <policy name="DNSRegistration" class="Machine" displayName="$(string.DNSRegistration)" explainText="$(string.DNSRegistration_Help)" presentation="$(presentation.DNSRegistration)" key="Software\Policies\Tailscale" valueName="DNSRegistrationConfigured">
<parentCategory ref="Settings_Category" />
<supportedOn ref="SINCE_V1_84" />
<elements>