domain-name-system – 如何使用dnscmd显示区域配置?

前端之家收集整理的这篇文章主要介绍了domain-name-system – 如何使用dnscmd显示区域配置?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我试图使用dnscmd( Windows)显示/导出当前区域配置,但到目前为止,似乎/ zoneprint只输出DNS区域中的记录,但我对所有其他可以使用/配置.

解决方法

C:\>dnscmd /ZoneInfo

Usage: DnsCmd <Server> /ZoneInfo <ZoneName> [<Property>]
  <Property> -- zone property to view
  Examples:
    AllowUpdate
    DsIntegrated
    Aging
    RefreshInterval
    NoRefreshInterval
    IsSigned
    Keymaster
    IsKeymaster
    SignWithNSEC3
    NSEC3HashAlgorithm
    NSEC3Iterations
    NSEC3RandomSaltLength
    NSEC3UserSalt
    NSEC3CurrentSalt
    NSEC3OptOut
    MaintainTrustAnchor
    SignatureInceptionOffset
    DNSKEYRecordSetTTL
    DSRecordSetTTL
    SecureDelegationPollingPeriod
    DsRecordAlgorithms
    RFC5011KeyRollovers
    SigningKeyDescriptors
    PropagationTime
    ParentHasSecureDelegation

In future versions of Windows,Microsoft might remove dnscmd.exe.

If you currently use dnscmd.exe to configure and manage the DNS server,Microsoft recommends that you transition to Windows PowerShell.

没有指定特定属性

C:\>dnscmd . /ZoneInfo lab.contoso.com

Zone query result:

Zone info:
        ptr                   = 0000009D181ECBF0
        zone name             = lab.contoso.com
        zone type             = 1
        shutdown              = 0
        paused                = 0
        update                = 2
        DS integrated         = 1
        read only zone        = 0
        in DS loading queue   = 0
        currently DS loading  = 0
        data file             = (null)
        using WINS            = 0
        using Nbstat          = 0
        aging                 = 0
          refresh interval    = 168
          no refresh          = 168
          scavenge available  = 0
        Zone Masters    NULL IP Array.
        Zone Secondaries        NULL IP Array.
        secure secs           = 3
        directory partition   = AD-Domain     flags 00000015
        zone DN               = DC=lab.contoso.com,cn=MicrosoftDNS,DC=DomainDnsZones,DC=lab,DC=contoso,DC=com
Command completed successfully.

指定特定参数:

C:\>dnscmd . /ZoneInfo lab.contoso.com AllowUpdate

Zone query result:
Dword:  2 (00000002)

Command completed successfully.

可能还想检查/ ExportSettings参数.它吐出了一个非常详尽的文本文件.

原文链接:https://www.f2er.com/html/228596.html

猜你在找的HTML相关文章