Feature #224

dnssec-tools would be a good package to make

Added by Dave Täht almost 2 years ago. Updated about 1 year ago.

Status:Closed Start date:08/04/2011
Priority:Normal Due date:
Assignee:Evan Hunt % Done:

0%

Category:DNS Spent time: 1.00 hour
Target version:1st Public Cerowrt release

Description

It looks like dnssec can be made much more manageable with a port of the dnssec-tools,
available here:

http://www.dnssec-tools.org/


Related issues

related to Cerowrt - Bug #113: circular dependency on time in DNS New 05/05/2011

History

Updated by Dave Täht almost 2 years ago

  • Status changed from New to Feedback
  • Assignee changed from Stephen Walker to Evan Hunt

steve got dnssec-tools ported and they are in the rc5 build. Yea! What are they good for, again?

Updated by Evan Hunt almost 2 years ago

There's a bunch of stuff in dnssec-tools (some of which, AIUI, duplicates functionality already available in BIND 9).

The only bit I was interested in was libval, which has DNSSEC-validating versions of the get*by*() and get*info() functions. https://www.dnssec-tools.org/wiki/index.php/Libval_and_libsres

Updated by Dave Täht almost 2 years ago

what I want is the NON dnssec validating versions of those functions! Not in there?

Updated by Evan Hunt almost 2 years ago

Dave Täht wrote:

what I want is the NON dnssec validating versions of those functions! Not in there?

No, what you want is the validating version.

The standard getaddrinfo() simply asks the resolver for an address. The resolver attempts to validate the data, fails, and returns SERVFAIL; you get nothing.

The validating version (I believe it's called val_getaddrinfo()) takes responsibility for validation by itself. It asks the resolver to provide the address data and associated DNSSEC data, warts and all, without validating it. (In other words it sets the CD bit on the query.) Then it does its own validation. What you get is the data requested, plus information about its validity, so you can decide for yourself whether to use the information or not.

Honestly, what you really want is a simple flag to getaddrinfo() to set the CD bit. But val_getaddrinfo() is one way to get there without having to muck with glibc or whatever library getaddrinfo() lives in.

Updated by Dave Täht almost 2 years ago

Well, getting this right is on my list for RC6 or RC7. But I'm buried at a conference all week.

Updated by Dave Täht over 1 year ago

  • Status changed from Feedback to In Progress
  • Target version changed from 1st Public Cerowrt release to 14

Updated by Dave Täht about 1 year ago

  • Category set to DNS
  • Status changed from In Progress to Closed
  • Target version changed from 14 to 1st Public Cerowrt release

Also available in: Atom PDF