>    Ignoring such invalid responses and continuing to wait for valid
>    ones until timeout appears to be a better design. 

It very much depends on the software architecture. In a simple architecture
with a function that sends a UDP request and recevies a UDP reply, the
context of receiving UDP replies will be lost before the reply has been
DNSSEC validated. For this reason is it is easier to mark the nameserver
as broken and move to the next.

In theory it would be possible to provide the UDP code with a context for
DNSSEC validation to check the reply. The question is whether the complexity
would be worth it.

Most domains are not DNSSEC signed. If we assume that an attacker can 
insert bogus replies then for DNSSEC this is amounts to a DoS. For
unsigned zones, this means total data corruption.

What we see in practice is that these types of off-path attacks are
extremely rare. We can expect that a DoS on DNSSEC will be much more
rare than attacks on unsigned zones.

So not worth it, unless for some reason the UDP context already remains
available after the reply has been received.

_______________________________________________
DNSOP mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to