Edit /etc/default/bind9 and change
/etc/default/bind9
OPTIONS="-u bind"
Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)
to
OPTIONS="-u bind -d 50 -g"
Restart BIND and you'll see debug log on your console.