.:5353 {
    ads {
        strict-default-lists
        blacklist https://raw.githubusercontent.com/privacy-protection-tools/anti-AD/master/anti-ad-domains.txt
        whitelist https://files.krnl.eu/whitelist.txt
        log
        auto-update-interval 48h
        list-store ads-cache
    }
    hosts {
            fallthrough
    }
    forward .  tcp://8.8.8.8 127.0.0.1:53001 {

    log
    cache
    redisc {
            endpoint 16379
    }
    health
    reload
}

.:53001 {
    bind 127.0.0.1
    forward . tls://1.1.1.1:853 {
        tls_servername cloudflare-dns.com
    }
    cache
}
