wrong default is used for HTTP port
Noticed while looking at code, if the HTTP (non-encrypted) listening port is specified on the command line, the wrong value is used for the listener.
} else if (http && !do_tls) {
if (named_g_httpport != 0) {
port = named_g_port;
This means if you ran named -p http=N
, it would try to listen for HTTP connections on port 53.