How to disable ipv6 in Debian

Here are simple steps to disable ipv6 in Debian: 1. Comment out anything related to ipv6 in/etc/hosts 2. SSH. EnsureAddressFamily inetis set in/etc/ssh/sshd_config. Restart ssh. 3. BIND. Ensurelisten-on-v6 { none; };in/etc/bind/named.conf.options. Restart bind9. 4. NTP. Ensure-4option is set in/etc/…