in reply to Re: deconstructing tinydns(djbdns) SRV records
in thread deconstructing tinydns(djbdns) SRV records

Thanks for responding so quickly!

I'm not very familiar with Net::DNS but I tried your suggestion:
my $data = "\000\012\000\144\023\304\003pbx\007example\003com\000:3600 +"; $offset=0; ( $rr, $next ) = decode Net::DNS::RR( \$data, $offset); print "RR = $rr\n"; print "NEXT = $next\n"; exit;

corrupt wire-format data at /usr/lib64/perl5/vendor_perl/Net/DNS/RR.pm line 242.

Replies are listed 'Best First'.
Re^3: deconstructing tinydns(djbdns) SRV records
by Corion (Patriarch) on Aug 25, 2017 at 10:46 UTC

    So either the data is not a raw SRV record or we are handing it in the wrong way to Net::DNS.

    Maybe you can find out from the documentation what exactly is stored in your LDAP directory?