Skip to content

Inconsistent DNS query results #869

@Atemu

Description

@Atemu

Today, I just cannot do DNS-01 ACME challenges reliably. It always fails saying that there was NXDOMAIN on the challenge domain eventhough lego has waited until the challenge record showed up in its DNS queries. I suspect this might be related to replication?

I let a while true; do dig @1.1.1.1 _acme-challenge.... TXT ; sleep 1 ; done run on the side and noticed something really odd:

  1. When the challenge record appears, it's usually gone the next second's query
  2. These short appearances can appear even while lego continues to query (it hasn't received a response where the record is present)
  3. The challenge record can re-appear even minutes after lego stopped the challenge (also just for one query, gone the next second). I typed out this report since the last challenge ran but I'm still sometimes getting ACME challenge records back every couple dozen seconds

Something's not right here..

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