Sam Roberts <sroberts / uniserve.com> wrote: > > > I don't understand why DNS::Name#== requires both to be absolute if one > > > is. > > > > > > Is this really necessary/useful? It surprises me. > > > > I think it's right behavior. > > Why? When are they not the same? > > They are equivalent in the DNS, Resolv::DNS#getaddress() would return > the same A record for both. "example.com" is a relative domain name. Depending on your resolver/nameserver's configuration, I believe it could resolve to "example.com.DEFAULTDOMAIN." which wouldn't be the same as "example.com." Cheers, Navin.