Skip to content

How do i use coredns with this blocklist?

Prajwal Koirala edited this page Jul 11, 2021 · 3 revisions

Corefile

. {
    bind 127.0.0.1 ::1
    acl {
        allow net 127.0.0.1 
        block
    }
    hosts hosts {
        fallthrough
    }
    forward . tls://1.1.1.1 tls://1.0.0.1 {
        tls_servername cloudflare-dns.com
        health_check 5s
    }
    alias
    any
    errors
    loop
    cache
    minimal
    reload
}