npub1m7…ntwu8 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.moethis 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.
Published at
2025-01-18 00:11:37Event JSON
{
"id": "b10f7776f4a3e093d9caf52aff133e40a53a867d727bb6775f64974f152886f8",
"pubkey": "dfac05175167a3465031ae88bbbfbb60c5df80d5465cc91766fb73438a2af009",
"created_at": 1737159097,
"kind": 1,
"tags": [],
"content": "ping files.catbox.moe\nping: files.catbox.moe: Name or service not known\n\nwhen you get above error and suspect your nameserver is borked, try:\n\ncurl -L --resolve files.catbox.moe:443:108.181.20.35 https://files.catbox.moe\n\nthis overrides dns server and does direct request to ip while making server believe you are accessing it using domain name.\n\nyou can find ip address for the curl command with dig:\ndig +trace files.catbox.moe @nameserverip\n\nanother solution is to change name server in /etc/resolv.conf, but it may be slower if you need to try multiple nameservers.",
"sig": "b09cae549ee4f36f414448b1364e55b786ed2fbb6f2bddf5c861040f20bebb16f0410c25d974204ef819f6e06ffd960f6a7c6ccdbd92825a1c131bddfd4f9e63"
}