aboutsummaryrefslogtreecommitdiff
strip-dns64 is a DNS forwarder which removes synthesized AAAA answers from
upstream DNS64 servers, implemented initially in Python and then Go for improved
performance

podman build -t strip-dns64 .

podman run -d \
    --name strip-dns64 \
    --network host \
    -e UPSTREAM_DNS="[2001:4860:4860::8888]:53" \
    -e LISTEN_ADDRS="127.0.0.1:53,[::]:53" \
    strip-dns64

podman run -d \
    --name strip-dns64 \
    --cap-add=NET_BIND_SERVICE \
    -p 53:53/udp \
    -p [::]:53:53/udp \
    -e UPSTREAM_DNS="[2001:4860:4860::8888]:53" \
    strip-dns64

Usage of ./strip-dns64:
  -listen string
    	Comma-separated list of IP:PORT to listen on (default "[::]:53")
  -upstream string
    	Upstream DNS server (format: ip:port or [ipv6]:port) (default "[2606:4700:4700::1111]:53")