Skip to content

Unable to create DNS records: required record name fields are absent despite providing required fields #28

@priteshlaxman243

Description

@priteshlaxman243

We are using the Infoblox Universal DDI Python SDK (universal-ddi-python-client) and consistently see this error when creating DNS records:

required record name fields are absent: either "zone" or "name_in_zone" and "zone" or "absolute_name_spec" and "view" should be present

However, our payload includes all of these fields:

{
"absolute_name_spec": "gmiudditestpri.tstgenmills.com.",
"type": "A",
"rdata": { "address": "172.26.225.34" },
"ttl": 3600,
"view": "dns/view/a18553c2-c006-4c89-ae95-af54d13d71c6",
"zone": "dns/auth_zone/610f6542-6ddd-4f26-b2d7-245618395b85",
"name_in_zone": "gmiudditestpri"
}

We have tried both:

absolute_name_spec + view

name_in_zone + zone

but the same error is returned.

Questions:

Is this a known issue with the SDK or API?

Is the SDK still being maintained?

Is there a recommended workaround for creating records in this scenario?

This is currently blocking our DNS automation, so any guidance would be appreciated.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions