Total Pageviews

Sunday, 17 April 2016


DNS Filtering proxy and minimalistic nameserver in GO
  • Recurse only A, AAAA, CNAME records (onlyipq)
  • Filter on domain suffix (suffixes)
  • Filter on returned IP (ipfilter)
  • Swap NXDOMAIN with static A response and set TTL (swapnxdip, swapnxdttl)
  • Hosts file lookup for static (override) entries 
Based on DNS library (


  • Install golang, set GOPATH, get dependent libraries -- go get -- go get
  • Build application -- go build -o dnsproxy *.go
See dnsproxy.conf for examples