Distrobox hostname issues freezing the system

For some reasons graphical applications seems to freeze the system in general in distrobox containers but afterwards it recovers. The issue seems to be caused by the hostname. When the hostname is set for example as “teufort” graphical apps freeze after awhile or when interacting with the menus. When the hostname is the LAN address ( it doesn’t freeze at all.
Searching in journalctl is just spam that “compositor is slow” during recording demonstration of the freezing
> journalctl -xe
kwin_wayland[1604]: kwin_screencast: Dropping a screencast frame because the compositor is slow

here is a recording https://streamable.com/vxc4dz