Error when running linux sudo command while cloudflare warp is connected

I’m on Debian bookworm, using cloudflare-warp version 2023.7.40-1.
Anytime I run sudo while cloudflare warp is connected, at first nothing happens for about ten seconds, and then it says:
sudo: unable to resolve host debian-x280: Name or service not known
and after that it correctly runs the command.
What could be causing this and how could I fix it?