4 ms·
> Curious how you set that up? Via a DNS server we run, that then answers for local things or forwards requests on to the real world. To do that locally, set
by mhio 5y ago
> Curious how you set that up?
Via a DNS server we run, that then answers for local things or forwards requests on to the real world.
To do that locally, set up a DNS forwarder like dnsmasq [0] or unbound [1] (or coredns/bind/etc) to respond for the domain you want to wildcard to localhost. Point your OS DNS settings to 127.0.0.1, then configure the forwarder with your regular external DNS servers.
The equivalent to `NODE_USE_SYSTEM_CERTS` is a build time option unfortunately. I know the rhel/debian packages do integrate their builds with the system CA's but those packages tend to be ancient. Maybe try the nodesource [2] packaged node.js? The homebrew node formulae [3] looks like it integrates with the brew openssl CA's.
[0] https://stackoverflow.com/a/22551303 https://stackoverflow.com/a/22551303
[1] https://unbound.docs.nlnetlabs.nl/en/latest/manpages/unbound.conf.html#:~:text=for%20AAAA%20queries.-,redirect,-The%20query%20is https://unbound.docs.nlnetlabs.nl/en/latest/manpages/unbound...
[2] https://github.com/nodesource/distributions https://github.com/nodesource/distributions
[3] https://github.com/Homebrew/homebrew-core/blob/c2579d98415bdc802ecc85e40af250f46a357037/Formula/node.rb#L96 https://github.com/Homebrew/homebrew-core/blob/c2579d98415bd...