linux – "No address associated with the host name", but can the minecraft client enter it?

I'm sorry if this site is not for these kinds of questions, but it's really confusing and I have no idea what's going on.

I have 2 Minecraft customers, tlauncher and Shiginima launcher. I usually play on a server and can access it normally with Shiginima. However, if I try to connect to tlauncher, it says: Unknown host and do not connect. I can connect to other servers with tlauncher, but not that one. In addition, I can ping others I can connect to. However, if I try to ping one that does not work, he says: ping: : No address associated with hostname.

I have no idea what's going on and I can not find anything about how to solve it or why it's happening on the Internet.

(I'm using linux btw)