9.18.0 nslookup debugging output
Summary
nslookup in interactive mode produces debugging output by default
BIND version used
BIND 9.18.0 (Stable Release) id:8db45af running on Linux x86_64 5.10.0-11-amd64 #1 SMP Debian 5.10.92-1 (2022-01-18) built by make with '--sysconfdir=/etc' '--localstatedir=/var' '--disable-linux-caps' '--disable-doh' compiled by GCC 10.2.1 20210110 compiled with OpenSSL version: OpenSSL 1.1.1k 25 Mar 2021 linked to OpenSSL version: OpenSSL 1.1.1k 25 Mar 2021 compiled with libuv version: 1.40.0 linked to libuv version: 1.40.0 compiled with zlib version: 1.2.11 linked to zlib version: 1.2.11 threads support is enabled
default paths: named configuration: /etc/named.conf rndc configuration: /etc/rndc.conf DNSSEC root key: /etc/bind.keys nsupdate session key: /var/run/named/session.key named PID file: /var/run/named/named.pid named lock file: /var/run/named/named.lock
Steps to reproduce
run nslookup attempt to look up literally anything
What is the current bug behavior?
debugging output is produced alongside expected output
What is the expected correct behavior?
normal output
Possible fixes
in bin/dig/nslookup.c Line 624 is "debugging = true;". I suggest that this should be either "debugging = false;" or the line should be deleted.