[net-dns-users] SVCB
Doug Barton
dougb at dougbarton.us
Sun Nov 10 02:29:26 UTC 2024
I have two questions about the SVCB/HTTPS implementation.
First, how does one decode the "presentation format" data that's
returned by the svcparam methods? I tried every combination of unpack
that I could think of, including those used for pack and unpack in the
pm file, and all I get is gibberish. None of the standard RR methods
work either, including print, string, etc.; and I'm pretty sure I tried
them all.
Second, what's the rationale for this substitution on line 190 of the
current version of SVCB.pm:
return ( $target eq '.' ) ? $self->owner : $target;
I could sort of understand how in some ways it would make it easier to
read the output, but it's not what's in the zone file, or on the wire,
and if I'm trying to compare the output of my script to either of those
it could cause confusion. I think it would be extra confusing if the
label in question were a wildcard.
I do note that this substitution doesn't happen in AliasMode, which is
appreciated, since the '.' has a special meaning in that mode.
Any help on the parameter values would be most especially appreciated.
:)
Doug
More information about the net-dns-users
mailing list