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.
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.