Skip to content

Conversation

@fstagni
Copy link
Contributor

@fstagni fstagni commented Nov 27, 2025

This is completion of #8385

@chrisburr
Copy link
Member

Why not 253? (i.e. the limit in DNS)

@fstagni
Copy link
Contributor Author

fstagni commented Dec 1, 2025

Why not 253? (i.e. the limit in DNS)

Prob a good idea. I fix this in minutes.

@fstagni fstagni force-pushed the 90_increase_hostname_64 branch from fe8454d to 33daa87 Compare December 1, 2025 09:07
@fstagni fstagni requested a review from atsareg as a code owner December 1, 2025 09:07
("DestinationHostName", "VARCHAR(50)"),
("Source", "VARCHAR(50)"),
("Destination", "VARCHAR(50)"),
("SourceIP", "VARCHAR(39)"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why? Espeically with the comment about:

IPv6 address has up to 45 chars

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Funny, the google "LLM answer" gave 39 so that's what I used here. Now I am looking for more info, end for example in https://forum.djangoproject.com/t/length-of-ipv6-address-string/37953 they suggest as you do, but for example in https://stackoverflow.com/questions/166132/maximum-length-of-the-textual-representation-of-an-ipv6-address#:~:text=An%20IPv6%20address%20have%208,optional%20ending%20device%20name%20%25devname%20. the suggestion is 61 (and 64 few comments below)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that we do not really have space issues I will now put 64 so to be on the safe side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants