-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Miek,
On 07/01/2012 09:17 PM, Miek Gieben wrote: > Hello, > > I've created a little wrapper so that you can use libunbound from > within Go code (www.golang.org). See: > https://github.com/miekg/unbound :-) > I noticed two (small) things though, if I use/convert an > ub_result->answer_packet the message-id in the message 0. Is this > on purpose or do I screw up somewhere? Yes, on purpose, since this reply is from a unix-pipe, the ID field does not have to be used. > Another thing is that there is no TTL in ub_result, also on purpose > I presume? There is in the answer packet, TTL per resource record even. A TTL field could be added to the ub_result, but would break ABI, even though it is not that interesting for most users (and power users can parse the answer_packet). Best regards, Wouter -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJP8VJYAAoJEJ9vHC1+BF+NQBoP/17n7umfUxlfr7wTTR++bh/O M+TzqmCDnOcMI+dXSSOZa3MiprFSueyOwComKQF/kay5ipSzMtThTVJNgLCEgOTV XuwMDiy/1RdGzh+B5FCq1dcZgaisapXP5VXbCyJyjJoIyRpieiK3l46cdoBanwZi ewqvBdxjP7/N7q8ufxLEtR1M3r3WxVPgvt09YHOnRyBAW7id5TiAiCdzFADXLHCQ trYGEzv6mQz8beXUAfksEMJXYPtrD7sFW0i/v1v2K/OPyxqFwpsAAEAna1edTIzr z2BUYkbuQtAh45/YAfBD6uISI1SYm0mjuxvCfyPhVsq46Bx3Ma8YrQ37ys+c8Noe 9r2l5wAO9zOzRh9xeMIiPHrdR6vudeF+SG3yCbOcg/pJIaZNJs1wGc+JAXKEznPP GOlHhh81wzB/xAOq7pxMl5eUYVWWN1066KxCEcb4Ji2nKXubSdVIgzhQD8f+QV1Q QlFiz5BOLUQRzxQ8VqmP9yAWHlsaBnY39QFRYnAKtIqNAlTelMWaNUc1yGuejawo VDGHn4AbM3Bkmz8nCpsa5Fl2Zn+Ttwq+WnmPMy9c9aIu0gUGYn7gLrhoH5MzjLNP zRX3upNiGgU7p/ijcsZ52Wnk8ek290Y5KRXhOsY9GPrhdxhIP15kO1Yk7R/TeOXH q/av//nbeYzT8Ag13GCF =IH+H -----END PGP SIGNATURE----- _______________________________________________ Unbound-users mailing list [email protected] http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
