bug 857291 - fix 807678 regression of DNS::GetCanonicalName r=josh a=bajaj