fix: we should do dns query for preferred instance as well #8

Open
opened 2025-09-27 00:33:55 +01:00 by Ghost · 0 comments
Ghost commented 2025-09-27 00:33:55 +01:00 (Migrated from codeberg.org)

Currently, we use the default instance literally as the default if a contact does not define an instance.

However, we should be doing a DNS query libravatar.org as well, not hitting libravatar.org/avatar, but rather hitting seccdn.libravatar.org/avatar which is what we'd find on their SRV record.

However, we must hardcode seccdn.libravatar.org somewhere in the application for users that do not want to use any of the DNS-over-HTTPS providers. We don't want Cloudflare or Google to be mandatory parts of the add-on. (And the Thunderbird Team don't seem to want that either based on previous reviews.)

Currently, we use the default instance literally as the default if a contact does not define an instance. However, we should be doing a DNS query libravatar.org as well, not hitting `libravatar.org/avatar`, but rather hitting `seccdn.libravatar.org/avatar` which is what we'd find on their SRV record. However, we must hardcode `seccdn.libravatar.org` somewhere in the application for users that do not want to use any of the DNS-over-HTTPS providers. We don't want Cloudflare or Google to be mandatory parts of the add-on. (And the Thunderbird Team don't seem to want that either based on previous reviews.)
Sign in to join this conversation.
No labels
help-wanted
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
SethFalco/auto-avatars#8
No description provided.