Skip to content

Get-WinDNSRecords returns nothing when run in a child domain #77

@CrookedJ

Description

@CrookedJ

In a child domain, when running Get-WinDNSRecords the cmdlet outputs nothing at all.

When running Get-WinDNSRecords -IncludeDetails it doesn't look in the right place for ForestDnsZones.
e.g. it uses SearchBase DC=child.parent.local,CN=MicrosoftDNS,DC=ForestDnsZones,DC=child,DC=parent,DC=local which results in Error: Directory object not found. as it should have a SearchBase of DC=child.parent.local,CN=MicrosoftDNS,DC=ForestDnsZones,DC=parent,DC=local

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions