[bind10-dev] Receptionist's guts
Jelte Jansen
jelte at isc.org
Fri Mar 15 10:04:04 UTC 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03/14/2013 08:46 AM, Michal 'vorner' Vaner wrote:
>> - on a related note, assuming we don't expect an excellent level
>> of performance, I don't see much benefit of handling the raw
>> packet data. parsing the header part with libdns++ will be more
>> convenient and safer (and that part isn't really that
>> expensive).
>
> Well, there's one other advantage besides performance. The mask &
> compare mode may be more flexible, so it could then handle
> different protocol than just DNS. But I didn't think about that
> much. It just seemed needlessly heavy to me, but I'm open there.
>
TBH I would go even further than jinmei and suspect that you might end
up wanting to inspect non-header data as well; I realize that tips the
balance well into the the 'smart' receptionist, as opposed to a
dumb&simple one. But I do think it may be the most viable route
towards something similar to views (or at least something that
reflects their functionality), to name one possible use of it.
However, I don't think one approach makes the other impossible; at
least in theory, and for now, it is just on which side you parse the
wire format :)
Jelte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAlFC8hQACgkQ4nZCKsdOncV3lwCfUTLIsgqbM1/nKNIm1W5akXS6
WPoAoN2dNhobF1+iobVnowKaLnveIZVu
=2ARq
-----END PGP SIGNATURE-----
More information about the bind10-dev
mailing list