leiless/dnsredir

Corefile parse error

leiless opened this issue · 0 comments

Corefile snippet

# Add foreign boostrap DNS addresses to direct ipset
.:53000 {
    #debug
    log . {combined}

    import global_cache

    dnsredir . {
        to 114.114.114.114 223.5.5.5
        ipset direct
    }
}

Run coredns_dnsredir with above Corefile on Windows

[WARNING] plugin/dnsredir: ipset is not available on windows
plugin/dnsredir: Corefile:24 - Error during parsing: INLINE "dnsredir.domainSet[direct]" is forbidden since "." will match all requests