Please feel free to provide feedback or file bugs here.

Get-DnsServerZone does not cater for secondary zones that allow zone transfers

If you have a secondary zone which in turn is configured to allow a zone transfer to another DNS server hosting the zone as a secondary, the Get-DnsServerZone cmdlet does not display that information.

Run: Get-DnsServerZone -Name zone.name | where-object {$_.zonetype -eq "secondary"} | select-object ZoneName, SecondaryServers
Result: Display zone name and secondary servers.
Actual Result: Displays just the zone name, no secondary servers are displayed even though they are setup.

The data is however available via WMI.

Get-WmiObject -Namespace root/microsoftdns -Class microsoftdns_zone | where-object {$_.containername -eq "zone.name"} | select-object containername, secondaryservers

1 vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Conor O'Flaherty shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base