Skip to content

Comments

Refactor DNS Name Handling and add static encoding function for DNSResourceRecord#4

Merged
TochusC merged 1 commit intomainfrom
static
May 8, 2025
Merged

Refactor DNS Name Handling and add static encoding function for DNSResourceRecord#4
TochusC merged 1 commit intomainfrom
static

Conversation

@TochusC
Copy link
Owner

@TochusC TochusC commented May 8, 2025

  • Introduced a new DNSName struct to encapsulate domain name handling, including encoding and decoding.
  • Updated all instances of DNS resource records to use the new DNSName struct for name representation.
  • Modified tests to reflect changes in DNS name handling, ensuring proper equality checks and encoding.
  • Cleaned up comments and organized code for better readability and maintainability.
  • Adjusted response handling in various components to utilize the new DNSName structure for consistency.

…sourceRecord

- Introduced a new DNSName struct to encapsulate domain name handling, including encoding and decoding.
- Updated all instances of DNS resource records to use the new DNSName struct for name representation.
- Modified tests to reflect changes in DNS name handling, ensuring proper equality checks and encoding.
- Cleaned up comments and organized code for better readability and maintainability.
- Adjusted response handling in various components to utilize the new DNSName structure for consistency.
@TochusC TochusC merged commit 2cbcafc into main May 8, 2025
1 of 2 checks passed
@TochusC TochusC deleted the static branch May 8, 2025 23:55
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.

1 participant