The trailing dot in domain names matter

(lacot.org)

62 points | by Damin0u 4 days ago ago

21 comments

  • echoangle 6 hours ago

    Is duplicate content really a problem for search engines? I thought you just have to set the canonical URL and it’s ok.

    • em-bee an hour ago

      not only this, if webservers can treat both versions as the same, and if in fact the specification treats them as the same, then so should search engines. if there is a problem, then the search engines are at fault. it seems ridiculous that i have to configure a webserver to add a redirect in order to avoid this. actually i think this is something that could also be fixed in the browser. i just checked, firefox treats them as separate domains. i don't think it should.

      in practice of course this is not a problem because nobody really puts a trailing dot on hostnames.

    • Kwpolska an hour ago

      I would also expect search engines to (a) ~never end up on a URL with a dot, unless someone explicitly linked to one, (b) merge the two sites on their end if they appeared.

  • konimex 6 hours ago

    On this topic, I believe it's obligatory to bring up JdeBP's comment: http://jdebp.info./FGA/web-fully-qualified-domain-name.html

  • ratg13 an hour ago

    This is a commonly used attack vector by threat actors to get around various defenses.

  • kristopolous 7 hours ago

    This reminds me of how you can use different bases for urls. Take http://3520653007/item?id=41982974 or http://032166163317/item?id=41982974 for example

  • AStonesThrow 6 hours ago

    This article, and the article linked upthread, is giving a novel definition of FQDN.

    https://en.wikipedia.org/wiki/Fully_qualified_domain_name

    https://datatracker.ietf.org/doc/html/rfc1594#section-5

    The trailing dot (root zone) is implicit in a Fully Qualified Domain Name. The trailing dot is not what makes a domain name fully qualified.

    • mattashii 2 hours ago

      Lacking the trailing dot that anchors the FQDN to the root zone, how would I be able to determine that I need to use the global root zone rather than local lookups? The DNS spec allows users to have local zones named similarly to all TLDs, which would be authorative responders for DNS requests that don't anchor to the root with a trailing dot - or have I missed something?

      • cedilla an hour ago

        You are completely right - but this distinction is just dead today. I read a lot of technical documentation that involves FQDNs and they almost never include a dot. Adding the dot often leads to problems as example.com and example.com. will not be normalized. End users also are just befuddled when they encounter the extra dot.

        On practice, instead of trying to follow a dead specification it makes your live easier to never use local zones and always use FQDN search domains if you can. Having a local zone that appears in the public suffix list is outright dangerous, and with how fast that grows, no local name is safe.

  • lanstin 7 hours ago

    Don't leave it out in your named config files!

  • tape_measure 5 hours ago

    Adding this dot used to be a way to bypass the paywall on nytimes.com. It's been fixed in the last 2 years or so.

  • AStonesThrow 4 hours ago

    Chris Siebenmann blogged this, 2 months ago: https://utcc.utoronto.ca/~cks/space/blog/tech/DomainDotAtEnd...

  • _def 6 hours ago

    This seems to be content marketing for their company.

    • imwillofficial 6 hours ago

      I found it fascinating.

      • _def 6 hours ago

        I also think it is interesting. I didn't want to dismiss it - content marketing can still contain valuable information, that's the whole point of it after all.

  • an hour ago
    [deleted]
  • m0d0nne11 an hour ago

    [flagged]

    • an hour ago
      [deleted]