Welcome! Log In Create A New Profile

Advanced

Re: [PATCH] Resolver: added support for domain names with a trailing dot

Maxim Dounin
January 13, 2014 09:00AM
Hello!

On Fri, Jan 10, 2014 at 12:13:26PM -0800, Yichun Zhang (agentzh) wrote:

> Hello!
>
> On Fri, Jan 10, 2014 at 11:10 AM, Ruslan Ermilov wrote:
> >
> > There's no such thing as domain names with a trailing dot,
> > with one exception of the root domain name.
> >
>
> Well, they are just a fully qualified domain names.

Well, not really. There is no need for a trailing dot for a
domain name to be fully qualified. The "example.com" domain _is_
fully qualified. The trailing dot is just used by some software to
indicate fully qualified names.

It looks like it's something specifically mentioned by RFC 3986
though, http://tools.ietf.org/html/rfc3986#section-3.2.2:

The rightmost domain
label of a fully qualified domain name in DNS may be followed by a
single "." and should be if it is necessary to distinguish between
the complete domain name and some local domain.

So we probably should support it.

[...]

--
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] Resolver: added support for domain names with a trailing dot

Yichun Zhang (agentzh) 764 January 08, 2014 03:00PM

Re: [PATCH] Resolver: added support for domain names with a trailing dot

Ruslan Ermilov 302 January 10, 2014 02:12PM

Re: [PATCH] Resolver: added support for domain names with a trailing dot

Yichun Zhang (agentzh) 273 January 10, 2014 03:14PM

Re: [PATCH] Resolver: added support for domain names with a trailing dot

Maxim Dounin 281 January 13, 2014 09:00AM

Re: [PATCH] Resolver: added support for domain names with a trailing dot

Ruslan Ermilov 328 January 14, 2014 07:32AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 98
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready