What is Nostr?
hi /
npub1m7k…twu8
2025-01-18 00:11:37

hi on Nostr: ping files.catbox.moe ping: files.catbox.moe: Name or service not known when you get ...

ping files.catbox.moe
ping: files.catbox.moe: Name or service not known

when you get above error and suspect your nameserver is borked, try:

curl -L --resolve files.catbox.moe:443:108.181.20.35 https://files.catbox.moe

this overrides dns server and does direct request to ip while making server believe you are accessing it using domain name.

you can find ip address for the curl command with dig:
dig +trace files.catbox.moe @nameserverip

another solution is to change name server in /etc/resolv.conf, but it may be slower if you need to try multiple nameservers.
Author Public Key
npub1m7kq2963v735v5p346yth0amvrzalqx4gewvj9mxlde58z327qysnntwu8