Show HN: Run a temporary DNS server that resolves a hostname to the current IP
github.com
github.com
This is a shell script that installs Unbound DNS and sets a redirect for the host specified in the script. Did you mean that nothing has to be installed in the docker image?
Either way, you should check to see if they already have Unbound installed and not clobber their configuration file. Hopefully most people would figure this out before running the script, but it is just a suggestion. If they do have it installed, consider adding a file to /etc/unbound/conf.d/ and running the config check first before reloading and after the unbound-checkconf returns status code 0.
unbound-checkconf