miekg commented on issue miekg/dns#909 2026年07月08日 10:07:30 +02:00
Minor issues found while porting DNSControl

apropos: I think \DDD is something from the '80 and either just put unicode in there, or base-something the entire string.

miekg commented on issue miekg/dns#882 2026年07月08日 09:59:39 +02:00
add Truncate in dnsutils

apart from edns0 shenanigans (if any - have to think about that) this looks so simple it would hardly need a function. The reason to have one would be mostly for documentation (resetting a Msg and...

miekg deleted branch miek/26/jul07di/09 from miekg/dns 2026年07月07日 10:26:58 +02:00
miekg pushed to main at miekg/dns 2026年07月07日 10:26:58 +02:00
ca97d3392f Merge pull request 'dnsutil.Trim: return original string when overshooting' (#914) from miek/26/jul07di/09 into main
e1776949f7 dnsutil.Trim: return original string when overshooting
Compare 3 commits »
miekg closed issue miekg/dns#910 2026年07月07日 10:26:58 +02:00
dnsutil.Trim: adjust to mimic strings.TrimPrefix again
miekg merged pull request miekg/dns#914 2026年07月07日 10:26:58 +02:00
dnsutil.Trim: return original string when overshooting
miekg pushed to miek/26/jul07di/09 at miekg/dns 2026年07月07日 10:07:25 +02:00
miekg created pull request miekg/dns#914 2026年07月07日 10:05:14 +02:00
dnsutil.Trim: return original string when overshooting
miekg pushed to miek/26/jul07di/09 at miekg/dns 2026年07月07日 10:05:08 +02:00
e1776949f7 dnsutil.Trim: return original string when overshooting
miekg created branch miek/26/jul07di/09 in miekg/dns 2026年07月07日 10:05:08 +02:00
miekg commented on issue miekg/dns#909 2026年07月07日 09:57:39 +02:00
Minor issues found while porting DNSControl

Thank you for documenting that! With that, I'm able to parse the string myself. Do you think parsing the string with strings.Fields() is sufficient? (I'm also assuming the quotes will be simple.)

miekg commented on issue miekg/dns#882 2026年07月06日 16:08:07 +02:00
add Truncate in dnsutils

AFAIK it is actually better to just reply with the shortest possible EDNS0 TC=1 answer, which will have the answer and authority sections entirely empty and just the EDNS0 OPT record in the...

miekg deleted branch miek/26/jul03vr/06 from miekg/dns 2026年07月03日 06:54:47 +02:00
miekg pushed to main at miekg/dns 2026年07月03日 06:54:47 +02:00
a041bf0cea Merge pull request 'document deleg/svcb Parse' (#911) from miek/26/jul03vr/06 into main
585e914f02 document deleg/svcb Parse
Compare 2 commits »
miekg merged pull request miekg/dns#911 2026年07月03日 06:54:45 +02:00
document deleg/svcb Parse
miekg created pull request miekg/dns#911 2026年07月03日 06:41:28 +02:00
document deleg/svcb Parse
miekg pushed to miek/26/jul03vr/06 at miekg/dns 2026年07月03日 06:41:25 +02:00
585e914f02 document deleg/svcb Parse
miekg created branch miek/26/jul03vr/06 in miekg/dns 2026年07月03日 06:41:24 +02:00
miekg commented on issue miekg/dns#909 2026年07月03日 06:32:45 +02:00
Minor issues found while porting DNSControl

Ha, thanks for filing this. Issue 2 is now #910

miekg opened issue miekg/dns#910 2026年07月03日 06:18:36 +02:00
dnsutil.TrimPrefix: adjust to mimic strings.TrimPrefix again