Subject: | Net::Bonjour is not able to handle large TXT records (e.g. printer records) |
Date: | Mon, 23 Jan 2012 12:58:36 +0000 |
To: | bug-Net-Bonjour [...] rt.cpan.org |
From: | Ronan Waide <waider [...] waider.ie> |
Version: 0.96
Perl: not sure it matters, but using 5.10/5.12 on MacOS X
DNS-SD suggests that TXT records can be up to 9000 bytes, and the
current version of Net::Bonjour breaks if they exceed 512. The fix is to add
$res->udppacketsize( 9000 );
to the fetch() method in Net::Bonjour::Entry when creating the
Net::DNS::Resolver.
Cheers,
Waider.
--
waider@waider.ie / Looks like I'm at the office