Skip to content

get-zones skips children on AutoDNS #4210

@dkorunic

Description

@dkorunic

Describe the bug
get-zones skips over children zones on AutoDNS. There are multiple levels of users on InternetX AutoDNS and sub-users which can be owners of domains. Due to Children: false in getZones() we are skipping all domains that typically AutoDNS interface shows for master/admin users.

To Reproduce
Steps to reproduce the behavior:

  1. Create sub-users on AutoDNS.
  2. Assign a domain to sub-user.
  3. Try to fetch domain with "get-zones" either directly or with "all" keyword from a top-level user.
  4. See error

Expected behavior
We should always default to safe default with Children: true the same way AutoDNS UI does. User can filter out unneeded domains.

DNS Provider

  • AUTODNS

Additional context
User levels documentation on AutoDNS

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