dn-privacy

作者: automattic

使用 dn CLI 为域名设置 WHOIS 隐私。当用户想要启用、禁用或更改域名 WHOIS 记录的隐私/编辑设置时使用。

npx skills add https://github.com/automattic/dn-cli --skill dn-privacy

dn privacy

Set WHOIS privacy for a domain.

Usage

# Enable privacy (proxy contact info)
dn privacy example.com on

# Disable privacy (show real contact info)
dn privacy example.com off

# Redact contact info (minimal disclosure)
dn privacy example.com redact

Arguments

ArgumentDescription
domainDomain name
settingon, off, or redact

Privacy Settings

  • on: Enable privacy service (proxy contact information)
  • off: Disclose real contact information in WHOIS
  • redact: Redact contact information (minimal GDPR-compliant disclosure)

Notes

  • Partner mode only - user mode shows redirect to wordpress.com/domains/manage
  • Use dn info <domain> to check current privacy setting