6
84
Fork
You've already forked dns
39

New function: NewWithOrigin() #653

Closed
TomOnTime wants to merge 1 commit from TomOnTime/dns:tlim_b651_parse into main
pull from: TomOnTime/dns:tlim_b651_parse
merge into: miekg:main
miekg:main
miekg:miek/26/jul13ma/06
miekg:miek/26/mrt24di/tls
miekg:miek/26/mrt09ma/17
miekg:miek/26/feb15zo/13
miekg:miek/2025-10-26@1431
miekg:miek/2025-10-18@2017
Contributor
Copy link

Issue

A common idiom is to call New() with "$ORIGIN example.com\n" + the_input. This is more efficient.

# Issue A common idiom is to call New() with `"$ORIGIN example.com\n" + the_input`. This is more efficient.
New function: NewWithOrigin()
All checks were successful
/ test (pull_request) Successful in 2m2s
56a953330f
miekg closed this pull request 2026年01月29日 20:08:22 +01:00
All checks were successful
/ test (pull_request) Successful in 2m2s

Pull request closed

Please reopen this pull request to perform a merge.
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
miekg/dns!653
Reference in a new issue
miekg/dns
No description provided.
Delete branch "TomOnTime/dns:tlim_b651_parse"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?