handshake-org / handshake-org/hsd

respond with servfail if dnssec validation fails

Open
#513 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.1k
Forks
306
PR merge metrics
No merged PRs in 30d

Description

security-aware resolvers like hsd should protect users from forged DNSSEC responses. hsd only omits the "AD" flag from the response but it should return SERVFAIL instead.

example:

`dig @1.1.1.1 dnssec-failed.org a`

this will return SERVFAIL with 1.1.1.1 but hsd will return an A record

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with `dig @1.1.1.1 dnssec-failed.org a`, then trace hsd's DNSSEC validation and response-generation path. Done means a DNSSEC validation failure produces a SERVFAIL response rather than an A record without the AD flag.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
networking, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.