Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make cache-resolver respect EDNS #83

Open
ignoramous opened this issue Oct 25, 2022 · 0 comments
Open

Make cache-resolver respect EDNS #83

ignoramous opened this issue Oct 25, 2022 · 0 comments

Comments

@ignoramous
Copy link
Contributor

Cache resolver simply picks up a result from the cache and returns after modifying the query ID. It must also check if there are incoming EDNS opts if any, and reply as approp.

Example response with addn section as retrieved from cache, even when the client hadn't asked for it:

    "additionals": [
        {
            "name": ".",
            "type": "OPT",
            "udpPayloadSize": 4096,
            "extendedRcode": 0,
            "ednsVersion": 0,
            "flags": 0,
            "flag_do": false,
            "options": []
        }
    ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant