David Conrad wrote:
> What is this code trying to do?

The code you quoted returns the number of domain labels, counting from
the right hand end, which are used to make up the "domain" property
(e.g. 2). The code works this way because those are the terms in which
the algorithm was described to me.

Have you tried running it on some example FQDNs, like www.google.com or
foo.bar.se? That should give an idea of what it does overall.

Gerv
_______________________________________________
DNSOP mailing list
DNSOP@ietf.org
https://www.ietf.org/mailman/listinfo/dnsop

Reply via email to