From fixie at chrissmith.org Fri Apr 4 15:51:41 2014 From: fixie at chrissmith.org (Chris Smith) Date: Fri, 4 Apr 2014 11:51:41 -0400 Subject: [ldns-users] link to git repo is not working In-Reply-To: <5328B79B.1020201@NLnetLabs.nl> References: <1130968081.617552.1395152811248.JavaMail.zimbra@redhat.com> <5328B79B.1020201@NLnetLabs.nl> Message-ID: Has this been resolved? I am no longer able to "git" the repository. Although I can connect to the web page via http. Chris On Tue, Mar 18, 2014 at 5:16 PM, Willem Toorop wrote: > Sorry Thomas, > > We had a "little" outage on our jail-servers (which also host git) due > to a CARP messages feedback-loop (i.e. multicast storm), when trying > source-routing to seamlessly facilitate a provider migration. :( > > -- Willem > > op 18-03-14 15:26, Tomas Hozza schreef: >> Hi. >> >> The link to the git repository published on the project page >> is not working. I was also not able to pull recent changes >> in already cloned git repo. >> >> Regards, >> >> Tomas Hozza >> _______________________________________________ >> ldns-users mailing list >> ldns-users at open.nlnetlabs.nl >> http://open.nlnetlabs.nl/mailman/listinfo/ldns-users >> > > -- > ??ll?? > > _______________________________________________ > ldns-users mailing list > ldns-users at open.nlnetlabs.nl > http://open.nlnetlabs.nl/mailman/listinfo/ldns-users From willem at nlnetlabs.nl Mon Apr 7 12:41:06 2014 From: willem at nlnetlabs.nl (Willem Toorop) Date: Mon, 07 Apr 2014 14:41:06 +0200 Subject: [ldns-users] link to git repo is not working In-Reply-To: References: <1130968081.617552.1395152811248.JavaMail.zimbra@redhat.com> <5328B79B.1020201@NLnetLabs.nl> Message-ID: <53429CE2.9000908@nlnetlabs.nl> Yes sorry about this. It was resolved but then got broken again because of mistakes made with the migration to the new IP addresses. All should be ok now, though you could still have an old IPv6 address cached. The correct IPv6 address should be 2a04:b900::4:0:0:33. -- Willem op 04-04-14 17:51, Chris Smith schreef: > Has this been resolved? I am no longer able to "git" the repository. > Although I can connect to the web page via http. > > Chris > > On Tue, Mar 18, 2014 at 5:16 PM, Willem Toorop wrote: >> Sorry Thomas, >> >> We had a "little" outage on our jail-servers (which also host git) due >> to a CARP messages feedback-loop (i.e. multicast storm), when trying >> source-routing to seamlessly facilitate a provider migration. :( >> >> -- Willem >> >> op 18-03-14 15:26, Tomas Hozza schreef: >>> Hi. >>> >>> The link to the git repository published on the project page >>> is not working. I was also not able to pull recent changes >>> in already cloned git repo. >>> >>> Regards, >>> >>> Tomas Hozza >>> _______________________________________________ >>> ldns-users mailing list >>> ldns-users at open.nlnetlabs.nl >>> http://open.nlnetlabs.nl/mailman/listinfo/ldns-users >>> >> >> -- >> ??ll?? >> >> _______________________________________________ >> ldns-users mailing list >> ldns-users at open.nlnetlabs.nl >> http://open.nlnetlabs.nl/mailman/listinfo/ldns-users From lmxhappy at gmail.com Sat Apr 19 16:27:46 2014 From: lmxhappy at gmail.com (=?UTF-8?B?5YiY5piO5pif?=) Date: Sun, 20 Apr 2014 00:27:46 +0800 Subject: [ldns-users] how to set the ldns query socket to wait for a proper time Message-ID: I use the function ldns_send() to ask a resolver to resolve domain names. The function often alters the network error. I checked and found that this is because it is so quick for the function to return while the resolver responded slowly, so that it did not get the responses and threw the alert. How to fix the problem to make it return a bit slowly? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From lmxhappy at gmail.com Sat Apr 19 17:56:21 2014 From: lmxhappy at gmail.com (=?UTF-8?B?5YiY5piO5pif?=) Date: Sun, 20 Apr 2014 01:56:21 +0800 Subject: [ldns-users] How to spend less to analyze a large zone file Message-ID: hi, ldns provides some api functions to analyze zone files in zone.c. The api is convenient while it is not enough to analyze a large zone file containing more than millions of lines of records. Using the functions listed in zone.h a lot of memory is used and if it is run in a computer with less memory, the computer may go down. I wonder to know whether ldns has done it while I just have not found the api? If ldns did not, how to analyze it with less resource. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From pspacek at redhat.com Wed Apr 23 15:58:24 2014 From: pspacek at redhat.com (Petr Spacek) Date: Wed, 23 Apr 2014 17:58:24 +0200 Subject: [ldns-users] ldns-verify-zone: General memory error at 5 if -k is missing Message-ID: <5357E320.4040601@redhat.com> Hello list, $ ldns-verify-zone -S -k Kinline.test.+007+53625.key Kinline.test.+007+64652.key signed.db.bind fails mysteriously with error message: General memory error at 5 This is triggered by missing "-k" before second key name, but the error message doesn't seem correct... $ ldns-version 1.6.16 $ rpm -q ldns ldns-1.6.16-6.fc20.x86_64 I'm attaching key and zone files in reproducer.tar.bz2. Have a nice day! -- Petr Spacek @ Red Hat -------------- next part -------------- A non-text attachment was scrubbed... Name: reproducer.tar.bz2 Type: application/x-bzip Size: 4449 bytes Desc: not available URL: From shlyoko at gmail.com Wed Apr 30 11:46:45 2014 From: shlyoko at gmail.com (Emil Natan) Date: Wed, 30 Apr 2014 14:46:45 +0300 Subject: [ldns-users] ldns-verify-zone: General memory error at 5 if -k is missing In-Reply-To: <5357E320.4040601@redhat.com> References: <5357E320.4040601@redhat.com> Message-ID: The same using 1.6.17. Emil On Wed, Apr 23, 2014 at 6:58 PM, Petr Spacek wrote: > Hello list, > > $ ldns-verify-zone -S -k Kinline.test.+007+53625.key > Kinline.test.+007+64652.key signed.db.bind > > fails mysteriously with error message: > > General memory error at 5 > > This is triggered by missing "-k" before second key name, but the error > message doesn't seem correct... > > $ ldns-version > 1.6.16 > > $ rpm -q ldns > ldns-1.6.16-6.fc20.x86_64 > > I'm attaching key and zone files in reproducer.tar.bz2. > > > Have a nice day! > > -- > Petr Spacek @ Red Hat > > _______________________________________________ > ldns-users mailing list > ldns-users at open.nlnetlabs.nl > http://open.nlnetlabs.nl/mailman/listinfo/ldns-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlyoko at gmail.com Wed Apr 30 12:10:44 2014 From: shlyoko at gmail.com (Emil Natan) Date: Wed, 30 Apr 2014 15:10:44 +0300 Subject: [ldns-users] ldns-verify-zone: General memory error at 5 if -k is missing In-Reply-To: References: <5357E320.4040601@redhat.com> Message-ID: Just paid attention, the command line is missing "-k" before the second key file is provided. So $ ldns-verify-zone -S -k Kinline.test.+007+53625.key -k Kinline.test.+007+64652.key signed.db.bind works. On Wed, Apr 30, 2014 at 2:46 PM, Emil Natan wrote: > The same using 1.6.17. > > Emil > > > On Wed, Apr 23, 2014 at 6:58 PM, Petr Spacek wrote: > >> Hello list, >> >> $ ldns-verify-zone -S -k Kinline.test.+007+53625.key >> Kinline.test.+007+64652.key signed.db.bind >> >> fails mysteriously with error message: >> >> General memory error at 5 >> >> This is triggered by missing "-k" before second key name, but the error >> message doesn't seem correct... >> >> $ ldns-version >> 1.6.16 >> >> $ rpm -q ldns >> ldns-1.6.16-6.fc20.x86_64 >> >> I'm attaching key and zone files in reproducer.tar.bz2. >> >> >> Have a nice day! >> >> -- >> Petr Spacek @ Red Hat >> >> _______________________________________________ >> ldns-users mailing list >> ldns-users at open.nlnetlabs.nl >> http://open.nlnetlabs.nl/mailman/listinfo/ldns-users >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From willem at nlnetlabs.nl Wed Apr 30 12:29:29 2014 From: willem at nlnetlabs.nl (Willem Toorop) Date: Wed, 30 Apr 2014 14:29:29 +0200 Subject: [ldns-users] ldns-verify-zone: General memory error at 5 if -k is missing In-Reply-To: References: <5357E320.4040601@redhat.com> Message-ID: <5360ECA9.5010300@nlnetlabs.nl> Well the version on the develop branch in git reports a descent error message, so I can assure you that ldns 1.6.18 (or ldns 1.7.0) will not have this "bug" anymore.. $ ldns-verify-zone -S -k Kinline.test.+007+53625.key Kinline.test.+007+64652.key signed.db.bind ; Error: no SOA in the zone Cheers, -- Willem op 30-04-14 14:10, Emil Natan schreef: > Just paid attention, the command line is missing "-k" before the second > key file is provided. So > $ ldns-verify-zone -S -k Kinline.test.+007+53625.key -k > Kinline.test.+007+64652.key signed.db.bind > works. > > > On Wed, Apr 30, 2014 at 2:46 PM, Emil Natan > wrote: > > The same using 1.6.17. > > Emil > > > On Wed, Apr 23, 2014 at 6:58 PM, Petr Spacek > wrote: > > Hello list, > > $ ldns-verify-zone -S -k Kinline.test.+007+53625.key > Kinline.test.+007+64652.key signed.db.bind > > fails mysteriously with error message: > > General memory error at 5 > > This is triggered by missing "-k" before second key name, but > the error message doesn't seem correct... > > $ ldns-version > 1.6.16 > > $ rpm -q ldns > ldns-1.6.16-6.fc20.x86_64 > > I'm attaching key and zone files in reproducer.tar.bz2. > > > Have a nice day! > > -- > Petr Spacek @ Red Hat > > _______________________________________________ > ldns-users mailing list > ldns-users at open.nlnetlabs.nl > http://open.nlnetlabs.nl/mailman/listinfo/ldns-users > > > > > > _______________________________________________ > ldns-users mailing list > ldns-users at open.nlnetlabs.nl > http://open.nlnetlabs.nl/mailman/listinfo/ldns-users > From shlyoko at gmail.com Wed Apr 30 12:52:47 2014 From: shlyoko at gmail.com (Emil Natan) Date: Wed, 30 Apr 2014 15:52:47 +0300 Subject: [ldns-users] ldns-verify-zone: General memory error at 5 if -k is missing In-Reply-To: <5360ECA9.5010300@nlnetlabs.nl> References: <5357E320.4040601@redhat.com> <5360ECA9.5010300@nlnetlabs.nl> Message-ID: Tested with the development version and it really reports "no SOA in the zone", but in this case it's misleading because the zonefile actually has SOA record and as I mentioned, the problem was a missing flag (-k) before the second key-file parameter. Emil On Wed, Apr 30, 2014 at 3:29 PM, Willem Toorop wrote: > Well the version on the develop branch in git reports a descent error > message, so I can assure you that ldns 1.6.18 (or ldns 1.7.0) will not > have this "bug" anymore.. > > $ ldns-verify-zone -S -k Kinline.test.+007+53625.key > Kinline.test.+007+64652.key signed.db.bind > ; Error: no SOA in the zone > > > Cheers, > > -- Willem > > op 30-04-14 14:10, Emil Natan schreef: > > Just paid attention, the command line is missing "-k" before the second > > key file is provided. So > > $ ldns-verify-zone -S -k Kinline.test.+007+53625.key -k > > Kinline.test.+007+64652.key signed.db.bind > > works. > > > > > > On Wed, Apr 30, 2014 at 2:46 PM, Emil Natan > > wrote: > > > > The same using 1.6.17. > > > > Emil > > > > > > On Wed, Apr 23, 2014 at 6:58 PM, Petr Spacek > > wrote: > > > > Hello list, > > > > $ ldns-verify-zone -S -k Kinline.test.+007+53625.key > > Kinline.test.+007+64652.key signed.db.bind > > > > fails mysteriously with error message: > > > > General memory error at 5 > > > > This is triggered by missing "-k" before second key name, but > > the error message doesn't seem correct... > > > > $ ldns-version > > 1.6.16 > > > > $ rpm -q ldns > > ldns-1.6.16-6.fc20.x86_64 > > > > I'm attaching key and zone files in reproducer.tar.bz2. > > > > > > Have a nice day! > > > > -- > > Petr Spacek @ Red Hat > > > > _______________________________________________ > > ldns-users mailing list > > ldns-users at open.nlnetlabs.nl ldns-users at open.nlnetlabs.nl> > > http://open.nlnetlabs.nl/mailman/listinfo/ldns-users > > > > > > > > > > > > _______________________________________________ > > ldns-users mailing list > > ldns-users at open.nlnetlabs.nl > > http://open.nlnetlabs.nl/mailman/listinfo/ldns-users > > > > _______________________________________________ > ldns-users mailing list > ldns-users at open.nlnetlabs.nl > http://open.nlnetlabs.nl/mailman/listinfo/ldns-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From willem at nlnetlabs.nl Wed Apr 30 13:27:59 2014 From: willem at nlnetlabs.nl (Willem Toorop) Date: Wed, 30 Apr 2014 15:27:59 +0200 Subject: [ldns-users] ldns-verify-zone: General memory error at 5 if -k is missing In-Reply-To: References: <5357E320.4040601@redhat.com> <5360ECA9.5010300@nlnetlabs.nl> Message-ID: <5360FA5F.1070204@nlnetlabs.nl> Of course, it is an argument parsing bug. ldns-verify-zone evaluates only one single zonefile, so it should report its usage when more then one zonefile is given as an argument. I have committed that change to the developers branch. Thanks! -- Willem op 30-04-14 14:52, Emil Natan schreef: > Tested with the development version and it really reports "no SOA in the > zone", but in this case it's misleading because the zonefile actually > has SOA record and as I mentioned, the problem was a missing flag (-k) > before the second key-file parameter. > > Emil > > > On Wed, Apr 30, 2014 at 3:29 PM, Willem Toorop > wrote: > > Well the version on the develop branch in git reports a descent error > message, so I can assure you that ldns 1.6.18 (or ldns 1.7.0) will not > have this "bug" anymore.. > > $ ldns-verify-zone -S -k Kinline.test.+007+53625.key > Kinline.test.+007+64652.key signed.db.bind > ; Error: no SOA in the zone > > > Cheers, > > -- Willem > > op 30-04-14 14:10, Emil Natan schreef: > > Just paid attention, the command line is missing "-k" before the > second > > key file is provided. So > > $ ldns-verify-zone -S -k Kinline.test.+007+53625.key -k > > Kinline.test.+007+64652.key signed.db.bind > > works. > > > > > > On Wed, Apr 30, 2014 at 2:46 PM, Emil Natan > > >> wrote: > > > > The same using 1.6.17. > > > > Emil > > > > > > On Wed, Apr 23, 2014 at 6:58 PM, Petr Spacek > > > >> wrote: > > > > Hello list, > > > > $ ldns-verify-zone -S -k Kinline.test.+007+53625.key > > Kinline.test.+007+64652.key signed.db.bind > > > > fails mysteriously with error message: > > > > General memory error at 5 > > > > This is triggered by missing "-k" before second key name, but > > the error message doesn't seem correct... > > > > $ ldns-version > > 1.6.16 > > > > $ rpm -q ldns > > ldns-1.6.16-6.fc20.x86_64 > > > > I'm attaching key and zone files in reproducer.tar.bz2. > > > > > > Have a nice day! > > > > -- > > Petr Spacek @ Red Hat > > > > _______________________________________________ > > ldns-users mailing list > > ldns-users at open.nlnetlabs.nl > > > > > http://open.nlnetlabs.nl/mailman/listinfo/ldns-users > > > > > > > > > > > > _______________________________________________ > > ldns-users mailing list > > ldns-users at open.nlnetlabs.nl > > http://open.nlnetlabs.nl/mailman/listinfo/ldns-users > > > > _______________________________________________ > ldns-users mailing list > ldns-users at open.nlnetlabs.nl > http://open.nlnetlabs.nl/mailman/listinfo/ldns-users > > From dot at dotat.at Wed Apr 30 13:07:37 2014 From: dot at dotat.at (Tony Finch) Date: Wed, 30 Apr 2014 14:07:37 +0100 Subject: [ldns-users] ldns-verify-zone: General memory error at 5 if -k is missing In-Reply-To: References: <5357E320.4040601@redhat.com> <5360ECA9.5010300@nlnetlabs.nl> Message-ID: Emil Natan wrote: > Tested with the development version and it really reports "no SOA in the > zone", but in this case it's misleading because the zonefile actually has > SOA record and as I mentioned, the problem was a missing flag (-k) before > the second key-file parameter. What you want is: diff --git a/examples/ldns-verify-zone.c b/examples/ldns-verify-zone.c index 156eb64..5b26116 100644 --- a/examples/ldns-verify-zone.c +++ b/examples/ldns-verify-zone.c @@ -833,6 +833,12 @@ main(int argc, char **argv) if (argc == 0) { fp = stdin; + } else if (argc > 1) { + if (verbosity > 0) { + fprintf(myerr, "Error: cannot check more than " + "one zone at a time\n"); + } + exit(EXIT_FAILURE); } else { filename = argv[0]; Tony. -- f.anthony.n.finch http://dotat.at/ Trafalgar: Northerly or northwesterly 4 or 5, increasing 6 in southeast. Moderate or rough. Occasional drizzle. Moderate or good. From willem at nlnetlabs.nl Wed Apr 30 13:36:05 2014 From: willem at nlnetlabs.nl (Willem Toorop) Date: Wed, 30 Apr 2014 15:36:05 +0200 Subject: [ldns-users] ldns-verify-zone: General memory error at 5 if -k is missing In-Reply-To: References: <5357E320.4040601@redhat.com> <5360ECA9.5010300@nlnetlabs.nl> Message-ID: <5360FC45.1030905@nlnetlabs.nl> :( greylisting costed me 10 minutes redundant activity. Ah well... op 30-04-14 15:07, Tony Finch schreef: > Emil Natan wrote: > >> Tested with the development version and it really reports "no SOA in the >> zone", but in this case it's misleading because the zonefile actually has >> SOA record and as I mentioned, the problem was a missing flag (-k) before >> the second key-file parameter. > > What you want is: > > diff --git a/examples/ldns-verify-zone.c b/examples/ldns-verify-zone.c > index 156eb64..5b26116 100644 > --- a/examples/ldns-verify-zone.c > +++ b/examples/ldns-verify-zone.c > @@ -833,6 +833,12 @@ main(int argc, char **argv) > > if (argc == 0) { > fp = stdin; > + } else if (argc > 1) { > + if (verbosity > 0) { > + fprintf(myerr, "Error: cannot check more than " > + "one zone at a time\n"); > + } > + exit(EXIT_FAILURE); > } else { > filename = argv[0]; > > Tony. >