4 ms·
Hey - I'm not the only one using CoreDNS like this! I'm just abusing the hosts plugin - do you have something more elegant?
by bpye 7y ago
Hey - I'm not the only one using CoreDNS like this! I'm just abusing the hosts plugin - do you have something more elegant?
- ricardbejarano 7y agoI'm throwing it the hosts blacklist as a file. For performance reasons I turn off reverse lookups and limit reloading to once every hour: (blacklist) { hosts /etc/hosts.blacklist { reload 3600s no_reverse fallthrough } } .:53 { import blacklist ... (more config) }