Skip to content

dns: domain must be fully qualified / or what does it do? #126

Open

Description

@rrjanbiah

Getting domain must be fully qualified error with:

{
  "type": "dns",
  "endpoint_name": "Testing DNS",
  "endpoint_url": "1.1.1.1:53", // cloudflare 
  "hostname_fqdn": "foo.com"
}

While Googling the error it seems to suggest that it is trying to update DNS (which I don't want). So, what does it exactly do?

Activity

  1. titpetric commented on May 21, 2020

    @titpetric
    Contributor

    The fully qualified domain name consists of three or more labels: The top level domain, the domain names, optional subdomains, and the host name.

    So, from what I understand, a www.foo.com should be a fqdn, while foo.com is not. You could try with foo.com. (trailing dot), but i'm not sure that it's going to work.

  2. titpetric commented on May 21, 2020

    @titpetric
    Contributor
  3. rrjanbiah commented on May 21, 2020

    @rrjanbiah
    Author

    @titpetric Thank you so much for your quick reply. So, is it different from nslookup? IOW, is it to check if the given hostname is resolving? TIA

  4. rrjanbiah commented on May 21, 2020

    @rrjanbiah
    Author

    Also, for the sake of record trailing dot fixed it.

  5. titpetric commented on May 21, 2020

    @titpetric
    Contributor
  6. rrjanbiah commented on May 21, 2020

    @rrjanbiah
    Author

    @titpetric I think, current checks are perfectly fine. Some doc or sample config will suffice, IMHO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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