Skip to content

Module 'dns' has no attribute 'immutable' #784

@vfaergestad

Description

@vfaergestad

Versions

NetBox Version: 4.4.10
NetBox DNS Version: 1.4.8
Python Version: 3.12.3

Describe the bug

Sometimes, when interacting with objects that touches the DNS-plugin in some way, I get the following server error:

<class 'AttributeError'>

module 'dns' has no attribute 'immutable'

The request that yielded the error has been various, but here are some examples (will add more as I encounter them):

POST https://netbox-url/plugins/netbox-dns/records/177/edit

The error happens occasionally. Performing the exact same request again often results in no error.

To Reproduce

Unfortunatly, the error is not easy to reproduce, as it happens occasionally and on various requests. I am very open to suggestions on how to create a reproducable case.

Expected result

The requests to always result in success, instead of occasionally as an error.

Actual result

The server error described above. The instance does not have debug enabled, and I cant seem to reproduce the behavious on my test instance.

I am aware that this may be little information to work with, but I am open for suggestions to improve that.

Metadata

Metadata

Assignees

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