This thing I hacked together when I needed a DNS server that could intercept/log/spoof some queries and was unable to find exactly that using Google.