Skip to content

Can't publish ECH data to cloudflare DNS when SRV records are present #6975

@Emiliaaah

Description

@Emiliaaah

Description

When enabling ECH I'm getting the following error:

{
  "level": "error",
  "ts": 1745164590.32397,
  "logger": "tls",
  "msg": "unable to get existing DNS records to publish ECH data to HTTPS DNS record",
  "domain": "emilia.codes",
  "error": "parsing Cloudflare DNS record {ID:9093409250c4e90bf23a0fe160f0329e Type:SRV Name:_xmpp-client._tcp.emilia.codes Content:5 5222 xmpp.emilia.codes Priority:0 Proxiable:false Proxied:false TTL:1 Locked:false ZoneID: ZoneName: CreatedOn:2024-07-26 00:23:27.641069 +0000 UTC ModifiedOn:2024-07-26 00:23:27.641069 +0000 UTC Data:{LatDegrees:0 LatMinutes:0 LatSeconds:0 LatDirection: LongDegrees:0 LongMinutes:0 LongSeconds:0 LongDirection: Altitude:0 Size:0 PrecisionHorz:0 PrecisionVert:0 Service: Proto: Name: Priority:0 Weight:5 Port:5222 Target:xmpp.emilia.codes Value: Tag: Flags:0 Protocol:0 Algorithm:0 KeyTag:0 DigestType:0 Usage:0 Selector:0 MatchingType:0 Content:} Meta:0xc005fc4e40}: name _xmpp-client._tcp does not contain enough fields; expected format: '_service._proto.name'",
}

This is probably something specific to the way cloudflare returns the records. Since editing the record to also include the FQDN, just results in the same record without the FQDN at the end.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions