3
4
Fork
You've already forked validns
5

"A record from a delegated zone" policy check #24

Open
opened 2012年08月15日 14:45:34 +02:00 by tobez · 2 comments
tobez commented 2012年08月15日 14:45:34 +02:00 (Migrated from github.com)
Copy link

Via Daniel Stirnimann:

$TTL 1d
$INCLUDE Kexample.com.+008+18169.key
$INCLUDE Kexample.com.+008+57699.key
@ IN SOA ns.example.com. hostmaster.example.com. (
 1 ; Serial
 604800 ; Refresh
 86400 ; Retry
 2419200 ; Expire
 604800 ) ; Negative Cache TTL
 IN NS ns1.example.net.
sub IN NS ns1.example.net.
test.sub IN A 127.0.0.1

The error is that there exists the "test.sub" record but "sub" is
already delegated.

BIND "dnssec-signzone" ignores "test.sub" and does not create
RRSIG/NSEC/NSEC3 records.

When I verify the signed zone (using NSEC) with validns, no error is shown.

When I verify the signed zone (using NSEC3) with validns, the error:
"no corresponding NSEC3 found for test.sub.example.com." is shown which
is correct.

I'm not sure what's the right way of handling this error is. In any
case, I think the error message should be the same whether NSEC or NSEC3
is used. Practically, I could live with a WARNING and not an ERROR
because, as far as BIND dnssec-signzone goes, the additional record of
the delegated zone is not signed, so does not lead to a signing error.
However, I'm not sure if other DNSSEC signing tools handle this the same
way.

Via Daniel Stirnimann: ``` $TTL 1d $INCLUDE Kexample.com.+008+18169.key $INCLUDE Kexample.com.+008+57699.key @ IN SOA ns.example.com. hostmaster.example.com. ( 1 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL IN NS ns1.example.net. sub IN NS ns1.example.net. test.sub IN A 127.0.0.1 ``` The error is that there exists the "test.sub" record but "sub" is already delegated. BIND "dnssec-signzone" ignores "test.sub" and does not create RRSIG/NSEC/NSEC3 records. When I verify the signed zone (using NSEC) with validns, no error is shown. When I verify the signed zone (using NSEC3) with validns, the error: "no corresponding NSEC3 found for test.sub.example.com." is shown which is correct. I'm not sure what's the right way of handling this error is. In any case, I think the error message should be the same whether NSEC or NSEC3 is used. Practically, I could live with a WARNING and not an ERROR because, as far as BIND dnssec-signzone goes, the additional record of the delegated zone is not signed, so does not lead to a signing error. However, I'm not sure if other DNSSEC signing tools handle this the same way.
tobez commented 2012年08月15日 14:46:05 +02:00 (Migrated from github.com)
Copy link

Validns is wrong producing an error for NSEC3.

An acceptable way of reporting this would be to report an "Unused glue
record" or a "Record from a delegated zone", optionally, activated via yet
another policy check. Do you concur?

The only thing I need to check is what dnssec-signzone does for/what RFCs
say about real glue records such as

sub IN NS ns1.sub
ns1.sub IN A 1.2.3.4
Validns is wrong producing an error for NSEC3. An acceptable way of reporting this would be to report an "Unused glue record" or a "Record from a delegated zone", optionally, activated via yet another policy check. Do you concur? The only thing I need to check is what dnssec-signzone does for/what RFCs say about real glue records such as ``` sub IN NS ns1.sub ns1.sub IN A 1.2.3.4 ```
tobez commented 2012年08月24日 16:46:49 +02:00 (Migrated from github.com)
Copy link

Mostly solved by commit fddc43cbf6.

Still need to add the policy check.

Mostly solved by commit fddc43cbf6b5ff30cf19ccb626f289108ce22908. Still need to add the policy check.
Sign in to join this conversation.
No Branch/Tag specified
main
v0.10.0
v0.9.0
v0.8.0
v0.7.0
v0.6.0
v0.5.0
v0.4.0
v0.3.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DNS-OARC/validns#24
Reference in a new issue
DNS-OARC/validns
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?