Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for DNS over TLS and DNS over HTTPS #784

Open
onedr0p opened this issue May 30, 2024 · 1 comment
Open

Add support for DNS over TLS and DNS over HTTPS #784

onedr0p opened this issue May 30, 2024 · 1 comment

Comments

@onedr0p
Copy link

onedr0p commented May 30, 2024

Describe the feature request

It would be great if gatus could support DoH and DoT when using the DNS endpoint...

endpoints:
  - name: example-dns-query
    url: "8.8.8.8"                     # Address of the DNS server to use
    # url: "tcp-tls:1.1.1.1:853"       # Address of the DNS server to use (DoT)
    # url: "https://1.1.1.1/dns-query" # Address of the DNS server to use (DoH)
    dns:
      query-name: "example.com"
      query-type: "A"
    conditions:
      - "[BODY] == 93.184.215.14"
      - "[DNS_RCODE] == NOERROR"

Why do you personally want this feature to be implemented?

In some environments port 53 is nat'ed to an internal DNS server, using DoT or DoH can circumvent this.

How long have you been using this project?

18 months+

Additional information

No response

@onedr0p
Copy link
Author

onedr0p commented May 30, 2024

It would also be great to support this in the connectivity.checker.target field:

connectivity:
  checker:
    target: tcp-tls:1.1.1.1:853
    interval: 1m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant