AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 732528
Accepted
sorin
sorin
Asked: 2015-10-30 06:12:37 +0800 CST2015-10-30 06:12:37 +0800 CST 2015-10-30 06:12:37 +0800 CST

如何使用 dnscmd 显示区域配置?

  • 772

我正在尝试使用dnscmd(Windows)显示/导出当前区域配置,但到目前为止,它似乎/zoneprint只输出来自 DNS 区域的记录,但我对可以使用/config.

domain-name-system
  • 1 1 个回答
  • 1967 Views

1 个回答

  • Voted
  1. Best Answer
    Ryan Ries
    2015-10-30T06:41:08+08:002015-10-30T06:41:08+08:00
    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参数。它吐出一个非常详尽的文本文件。

    • 5

相关问题

  • Solaris DNS

  • resolv.conf 在经过一段时间后被更改

  • 为什么有些网站的网址中没有“www”就无法显示?[关闭]

  • 为本地网络中的名称解析添加自定义 dns 条目

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve