After upgrding to the latest kali (apt update / apt upgrade / apt dist-upgrade sudo now gives this error

sudo: unable to resolve host TheBox: No address associated with hostname
sudo: error initializing audit plugin sudoers_audit

I have been able to become root. I tried to uninstall and reinstall sudo with no luck.

I have checked the sudoers file and it appears fine

Code:
# User privilege specification
root    ALL=(ALL:ALL) ALL


# Allow members of group sudo to execute any command
%sudo   ALL=(ALL:ALL) ALL


# See sudoers(5) for more information on "@include" directives:


@includedir /etc/sudoers.d

I have re-added the user kali to sudo - no luck

I have checked permissions on the sudoers file, r--r----- - seems fine?

Code:
─# ls -l /etc/sudoers
-r--r----- 1 root root 1585 Dec 18 08:55 /etc/sudoers
Not that it matters but this is a vm created from an iso running in virtualbox

# uname -a
Linux TheBox 5.14.0-kali4-amd64 #1 SMP Debian 5.14.16-1kali1 (2021-11-05) x86_64 GNU/Linux

Any help would be greatly appreciated, it's driving me nuts.

Thanks