Hacker News new | ask | show | jobs
by scurvy 3127 days ago
I'll put on my djb hat here, I'd avoid combining authoritative and recursive resolving servers in the same process. That is, unless you want to end up like bind.
2 comments

You can certainly make two configs, an authoritative only and a recursive only and just run two copies. However, while we cannot strictly control how goroutines are allocated, each module (recursor, resolver, nsnitch) run as their own little kingdom and primarily communicate with shared plumbing (geoip, for instance) through channels.
Sorry, unfortunately you have moved the djb hat from the djb hat rack and so can no longer refer to it as a djb hat.