Replies: 3 comments 1 reply
-
|
I'm still not clear why the scan can use DNS but the system update components cannot, but this I assume the scanner is somehow using different DNS and CA trust settings from the updater/version checker. |
Beta Was this translation helpful? Give feedback.
-
ProblemNuclei scans work with -duc because templates are local. Without -duc, version check and template download fail due to DNS/timeouts inside the Docker container. Host DNS works fine, but Docker uses its internal DNS (e.g., 172.17.x.x) which often times out. Solution:Use a reliable DNS and optionally mount system CA certs:
|
Beta Was this translation helpful? Give feedback.
-
|
Yes, your observation is correct. Inside Docker, the updater is hitting network resolution & certificate validation issues because it’s using Docker’s internal DNS + default CA bundle, while your scan can still succeed thanks to direct outbound requests. Adding So yes — the update/version-check subsystem effectively uses a separate DNS/CA path from the actual scan engine. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to get nuclei running under docker and hitting some roadblocks with the nuclei version checking and template downloads.
I don't think this is a connectivity or proxy issue with docker because I can run a basic scan like this and get data:
But when I try to run anything without
-duc, e.g.I get these errors:
A health check indicates similar name-resolution issues:
These i/o timeouts are a common theme.
curl (outside docker) to that same URL returns data:
Beta Was this translation helpful? Give feedback.
All reactions