My Mastodon instance is not showing previews of images from remote servers. I have tried to run
RAILS_ENV=production /home/mastodon/live/bin/tootctl media refresh --days 0.2
And get a lot of errors of the form
> Error processing 114092630496524137: failed to connect: No address for media.mstdn.social on https://media.mstdn.social/media_attachments/files/114/092/629/337/741/863/original/9539833c10d5b81d.mp4
I have narrowed the problem down to resolve, I think. When I call
nslookup media.mstdn.social
I get:
> ;; Got SERVFAIL reply from 127.0.0.53, trying next server
I had problems earlier with wget, curl and similar, so I added Hetzner's dns-servers. That solved the problems, but not for mastodon. So I guess I need to get 127.0.0.53 to work?
resolvectl status
> Global
> Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
> resolv.conf mode: static
>
> Link 2 (eth0)
> Current Scopes: none
> Protocols: -DefaultRoute -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Any idea what to do?
Asked by jeppeb
(11 rep)
Mar 3, 2025, 06:40 AM
Last activity: Mar 4, 2025, 08:55 PM
Last activity: Mar 4, 2025, 08:55 PM