BIND nxdomain-redirect
For educational purposes only
$ docker run --rm --name cve-2019-6467 -it -p 53:53/udp knqyf263/cve-2019-6467
Normal query
$ dig @127.0.0.1 nxdomain.example.com
nxdomain
can be replaced by anything that means non-existent domain name. (e.g. foobar.example.com)