[ldns-users] ldns does not use random source ports

Matthijs Mekking matthijs at NLnetLabs.nl
Mon Nov 15 08:52:49 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Zbynek,

Why would you want port randomization in ldns? This feature is useful
for non-validating resolvers, something that the ldns resolver is not
suitable for. The ldns resolver is useful for dns tools, such as drill
and the example tools. If you want to deploy a resolver, I'd recommend
you to use Unbound.

Best regards,

Matthijs

On 11/11/2010 05:20 PM, Zbynek Michl wrote:
> Hi,
> 
> ldns resolver does not use bind() function with random generated port
> number when sending a packet. Would not be better to implement it as
> randomly as it is in unbound?
> 
> Currently on Linux it is ok, because system generates port numbers
> randomly itself, however other systems (Mac OS X, Windows) just
> increment port numbers (except port is in use already).
> 
> Regards,
> Zbynek
> _______________________________________________
> ldns-users mailing list
> ldns-users at open.nlnetlabs.nl
> http://open.nlnetlabs.nl/mailman/listinfo/ldns-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJM4PThAAoJEA8yVCPsQCW5eTUIANi4H1eYwCoO5T9Lgxxi17XB
tMzp6OKq5Mp1ipyS2TGBbYpTgKnqboN4+sNGQIaU4xSEuvU8rJVOErAxTdb76plG
g8k6vzeAWndEXyBar8qvIAsgdM2tTIC7Ce/UHuTNW0T89qyQywzrXjsDiMpgIxfw
BjB74R0PD9CGyobRxXrk2RvlivduDjvi1icix/YcH66RspywzlXhxp7X8bCu9bhT
AgvOjF6BzBztCQeGT5Y1tM1PfheCwIujjHJVS4SW93Dt05AATznMlw8juSZXjKFC
ACTN+dG1AB3X8ErQW12Ezm/uToZ9890wUz/PGVIrqTkV6ITe+DD4U+VTA6vtW6c=
=UfDl
-----END PGP SIGNATURE-----



More information about the ldns-users mailing list