https://github.com/bagder/c-ares/pull/20

2014-09-05 Thread Nikos Mavrogiannopoulos
Hello,
 I've split the previous dnssec support pull request to two parts.

Part I: https://github.com/bagder/c-ares/pull/20

That part adds support for dnssec and DANE for applications that want to
use it. That part requires no extensions to resolv.conf or anything
else. The application is responsible for setting the trusted for dnssec
name servers.

Part II:
This consists of two approaches, that both apply over pull/20.

Approach 1: https://github.com/bagder/c-ares/pull/21
  Adds support for reading trusted dnssec servers
from /etc/resolv-sec.conf 

Approach 2: https://github.com/bagder/c-ares/pull/22
  Adds support for reading trusted dnssec servers from /etc/resolv.conf

regards,
Nikos




Re: Patch for fixing the slow DNS lookup issue

2014-07-25 Thread Nikos Mavrogiannopoulos
On Fri, 2014-07-25 at 11:13 +0200, Jakub Hrozek wrote:

https://github.com/bagder/c-ares/pulls
 
 https://github.com/bagder/c-ares/pull/16 - I will ask my RH colleagues
 about this. There is an effort around DNSSEC in Red Hat development now,
 but I admit my DNSSEC knowledge is very limited, so I don't feel
 qualified for a review. As a general note, this should be discussed with
 the libc folks at the libc-alpha list.

The co-ordination with the glibc folks would be nice to occur in order
to have a consistent way to read the trusted nameservers for dnssec.
These servers need to be marked separately in order to allow the system
administrator to trust the local verifying unbound server, and not the
dns server of the hotel he just got DHCP, for dnssec verification. This
is important as the patch adds non-validating dnssec support and relies
on the upstream server to do validation; the advantage is that it avoids
any crypto dependencies.

Unfortunately the (months-long) discussion on libc-alpha didn't end in
anything productive, hence I implemented what I thought best, i.e., a
separate resolv-sec.conf file. That part is separated from the rest of
the functionality (the last patch in pull request), and I'd be happy to
update it if you have a better idea.

If you have better communication skills than me you may want to resume
the discussion in libc-alpha (or some other libc people like the
freebsd). Nevertheless, in glibc my understanding is that they don't
plan to implement anything dnssec related anytime soon, so even if an
agreement is made that may not binding to them. Overall, I think it
would be nice for c-ares to have that functionality even if glibc
doesn't.

regards,
Nikos