From zbynek.michl at nic.cz Thu Mar 18 12:26:33 2010 From: zbynek.michl at nic.cz (Zbynek Michl) Date: Thu, 18 Mar 2010 13:26:33 +0100 Subject: [ldns-users] Typo mistake in ldns design documentation Message-ID: <4BA21BF9.8060506@nic.cz> Hello, I have found a little typo mistake in ldns doc at "http://www.nlnetlabs.nl/projects/ldns/doc/design.html". In paragraph "A DNS Resource record looks like this:" TTL should be uint32_t type instead of uint16_t as is written. Regards, Zbynek From wouter at NLnetLabs.nl Thu Mar 18 12:32:40 2010 From: wouter at NLnetLabs.nl (W.C.A. Wijngaards) Date: Thu, 18 Mar 2010 13:32:40 +0100 Subject: [ldns-users] Typo mistake in ldns design documentation In-Reply-To: <4BA21BF9.8060506@nic.cz> References: <4BA21BF9.8060506@nic.cz> Message-ID: <4BA21D68.3030007@nlnetlabs.nl> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Zbynek, Thanks! Fixed in source repository. Best regards, Wouter On 03/18/2010 01:26 PM, Zbynek Michl wrote: > I have found a little typo mistake in ldns doc at > "http://www.nlnetlabs.nl/projects/ldns/doc/design.html". > > In paragraph "A DNS Resource record looks like this:" TTL should be > uint32_t type instead of uint16_t as is written. > > Regards, > Zbynek -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkuiHWgACgkQkDLqNwOhpPjr6QCgp03zxWQzcHEnwmaIJjonDil5 c94AnjEbztSk+jhwZck9CdoQdS/oDLV4 =fW2U -----END PGP SIGNATURE----- From zbynek.michl at nic.cz Thu Mar 18 13:39:27 2010 From: zbynek.michl at nic.cz (Zbynek Michl) Date: Thu, 18 Mar 2010 14:39:27 +0100 Subject: [ldns-users] ldns_resolver_new_frm_fp_l() comment lines bug Message-ID: <4BA22D0F.5090107@nic.cz> Hi, there is probably a bug in ldns_resolver_new_frm_fp_l() function. When I use ldns_resolver_new_frm_file() to read /etc/resolv.conf, it incorrectly handles comment lines. Example: nameserver 127.0.0.1 nameserver 172.20.20.40 -> reads both resolvers (OK) nameserver 127.0.0.1 #nameserver 172.20.20.40 -> reads first resolver (OK) #nameserver 127.0.0.1 nameserver 172.20.20.40 -> reads no resolver (error) #nameserver 127.0.0.1 domain mydomain.cz nameserver 172.20.20.40 -> reads second resolver, but domain is omitted (error) So it seems if some line is commented out, then the next line is ommited too. Regards, Zbynek From wouter at NLnetLabs.nl Thu Mar 18 15:40:11 2010 From: wouter at NLnetLabs.nl (W.C.A. Wijngaards) Date: Thu, 18 Mar 2010 16:40:11 +0100 Subject: [ldns-users] ldns_resolver_new_frm_fp_l() comment lines bug In-Reply-To: <4BA22D0F.5090107@nic.cz> References: <4BA22D0F.5090107@nic.cz> Message-ID: <4BA2495B.7090507@nlnetlabs.nl> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Zbynek, Fixed in svn r 3210 The example you gave did not fail for me? It failed with different whitespace. But anyway, the comment handling did not properly handle skipping onto the next line, so I fixed that :-) Thanks for the report! Wouter On 03/18/2010 02:39 PM, Zbynek Michl wrote: > there is probably a bug in ldns_resolver_new_frm_fp_l() function. When I > use ldns_resolver_new_frm_file() to read /etc/resolv.conf, it > incorrectly handles comment lines. > > So it seems if some line is commented out, then the next line is ommited > too. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkuiSVsACgkQkDLqNwOhpPiHrgCeKKQ1fV5Oa3m2JC1XCEiSGJmW r0IAnAxa2XF4C5PUzj76+qdK3v22Y746 =xDkF -----END PGP SIGNATURE----- From gregorysabatino at hotmail.com Fri Mar 19 17:46:59 2010 From: gregorysabatino at hotmail.com (Greg Sabatino) Date: Fri, 19 Mar 2010 13:46:59 -0400 Subject: [ldns-users] Concurrent ldns look-ups? Message-ID: Hello: We would like to leverage the ldns libraries to perform multiple concurrent DNS look-ups from within the same process space. We could not find any examples or discourse on this when searching around postings to this list or in other Internet searches. Is this recommended? Are there particular issues to look out for when trying to do this? Thanks, -Greg -------------- next part -------------- An HTML attachment was scrubbed... URL: From wgg1970 at gmail.com Fri Mar 19 18:20:38 2010 From: wgg1970 at gmail.com (Gary Wallis) Date: Fri, 19 Mar 2010 15:20:38 -0300 Subject: [ldns-users] Concurrent ldns look-ups? In-Reply-To: References: Message-ID: <4BA3C076.1040202@gmail.com> Check out libevent http://www.monkey.org/~provos/libevent/ Cheers! Gary