modified: netbox_dns_bridge/signals/netbox_dns_zones.py
1. On zone deletion the catalog zone serial was not incremented, causing clients
not to delete the zone until another zone is created/modified. Fixed using
post_delete signal.
2. Even with the notify_clients feature disabled, the client IPs were still
being tracked. This disables the unnecessary behavior.
3. _track_seen_client function in DNSBaseRequestHandler did not have the 'self'
reference parameter, causing calls to fail. Fixed.
modified: netbox_dns_bridge/notify_handler.py
modified: netbox_dns_bridge/request_handler.py
modified: netbox_dns_bridge/signals/netbox_dns_zones.py
Disable NOTIFY feature by default and add setting to enable it.
- Catz member identifiers are created from uuid encoded in base32, lower-cased, and padding removed.
- On endpoint startup, make sure all zones have a catz identifier assigned. If not, create them.
- Use signals to create or update a zone's catz identifier.
Slight changes to previous commit:
1. Stop converting the zone ID to string for catalog zone PTR record creation
and simply use its int type.
2. Extend padding of ID in catalog zone PTR record from 6 digits to 9.
Auto-incrementing of zone IDs may create larger IDs then expected if the
turn-over of zones is high. Precautionary measure.
3. Fix catalog zone SOA record creation - A slight mistake was introduced in
previous commit that would render the set the MNAME field to
"invalid.zones.catz." rather than the intended "invalid." value.
4. Run code through black formater to stay compliant.
modified: src/netbox_plugin_bind_provisioner/management/commands/bind-transfer-endpoint.py
Remove code and description that imported old catz serials from flat files that were used before switch to DB model.
Code and docs no longer applicable so removed.
modified: src/netbox_plugin_bind_provisioner/management/commands/bind-transfer-endpoint.py
Allows for TXT records to be added without quotation. This will apply the correct quoting and
chunking where needed.
modified: src/netbox_plugin_bind_provisioner/management/commands/bind-transfer-endpoint.py
Fixes bug: TXT records were truncated instead of chunked when larger then 255 characters and on semicolons.
modified: src/netbox_plugin_bind_provisioner/management/commands/bind-transfer-endpoint.py
modified: src/netbox_plugin_bind_provisioner/migrations/0001_initial.py
modified: src/netbox_plugin_bind_provisioner/models.py
Run code through black formater and bump version string to v1.0.0
Ingore build/ dir
modified: src/netbox_plugin_bind_provisioner/__init__.py
Set version v0.9.9
modified: src/netbox_plugin_bind_provisioner/management/commands/bind-transfer-endpoint.py
Fix bug where an exception occurse if a view has no zones.
Feature added - Fixes#5
Removes the warning for step 4 from the installation guide. The warning said not to run migrations
as the plugin did not have its own models. Since v0.9.6 it does so this was forgotten to be removed.
modified: src/netbox_plugin_bind_provisioner/__init__.py
modified: src/netbox_plugin_bind_provisioner/management/commands/bind-transfer-endpoint.py
new file: src/netbox_plugin_bind_provisioner/migrations/0001_initial.py
new file: src/netbox_plugin_bind_provisioner/migrations/__init__.py
new file: src/netbox_plugin_bind_provisioner/models.py
Adds a database model to track the catalog zone serial instead of tracking it inside a flat file.
In the previous commit Matt Kollross pointed out a naming error where the plugin settings were referenced as 'netbox_bind_provisioner' instead of the correct name 'netbox_plugin_bind_provisioner'.
His commit missed the second instance of the same mistake further down in the README however. This fixes that one too.