News for hackers. Stuff that matters.
Re:Ask HN: What do you self-host? by bpye on Sunday October 13, 2019 @01:53AM (#21238611)
Hey - I'm not the only one using CoreDNS like this! I'm just abusing the hosts plugin - do you have something more elegant?
Re:Ask HN: What do you self-host? by ricardbejarano on Sunday October 13, 2019 @06:38AM (#21239658)
I'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)
    }