DnsEncodeName
function DnsEncodeName(const aName: string; var aDest: tBytes; var aLen: Integer): Boolean;
THE WIRE CODEC, exposed so it can be driven from canned packets with no socket
- which is the only way the hostile-input cases get tested. The parsers answer False on a malformed message and never follow more than cDnsMaxPtrHops compression pointers.