Skip to content

Commit

Permalink
Increase the maximum length for RR values from 1000 to 65535 octets
Browse files Browse the repository at this point in the history
  • Loading branch information
peteeckel committed Jul 20, 2023
1 parent 6d0db7b commit c24a595
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions netbox_dns/migrations/0023_alter_record_value.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 4.1.9 on 2023-07-20 17:30

from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("netbox_dns", "0022_search"),
]

operations = [
migrations.AlterField(
model_name="record",
name="value",
field=models.CharField(max_length=65535),
),
]
2 changes: 1 addition & 1 deletion netbox_dns/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ class Record(NetBoxModel):
max_length=255,
)
value = models.CharField(
max_length=1000,
max_length=65535,
)
status = models.CharField(
max_length=50,
Expand Down

0 comments on commit c24a595

Please sign in to comment.