Skip to content

Matrix does not support SVCB DNS records for homeserver discovery #1220

Open
@lindsayschm

Description

@lindsayschm

Description

I am running a homeserver behind a dynamic IP, and run my own BIND9 DNS servers with RFC2136 updates to track said dynamic IP. CNAMEs are not allowed to be used for the apex records of domains (and SRV records aren't allowed to point to CNAMEs, which is its own problem). The IETF is working on a new DNS record standard, SVCB/HTTPS, and this record type has been adopted by a bunch of the big names (firefox, chrome, BIND9, apple). SVCB records are effectively a replacement for SRV records, and fix the issue of CNAMEs not being allowed for apex records. As such, I have implemented SVCB records for both my apex domains and also for the 8448 redirection (what would otherwise be a SRV record) in my zone records.

Attempts to log in to the homeserver work just fine. Attempts to access it from other homeservers via DNS and public IP fail -- as far as I can tell, because it doesn't recognize the SVCB record and therefore won't follow it.

While using dynamic IPs may not be the best idea for any web services, the prevalence of ISPs refusing to issue static IPs to residential users is a large issue and we are as such relegated to said dynamic IPs. SVCB records fix this issue.

When will Synapse support them?

Steps to reproduce

  • have dynamic IP
  • run own BIND9 servers
  • use SVCB record in BIND9 zone to setup apex domain on dynamic IPs
  • use SVCB record in BIND9 zone to point matrix to correct port
  • set up homeserver
  • have somebody else try to talk to a user on that homeserver

Homeserver

glitchiest.town

Synapse Version

1.65.0

Installation Method

No response

Platform

Ubuntu Server 22.04 on QEMU on Proxmox VE
BIND9

Relevant log output

(if I can get logs from other homeserver admins, I will edit and post them here)

Anything else that would be useful to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-S2SServer-to-Server API (federation)featureSuggestion for a significant extension which needs considerable consideration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions