function IdRawBuildDns(AnId: word; AFlags: word; ANumQuestions: word; ANumAnswerRecs: word; ANumAuthRecs: word; ANumAddRecs: word; const APayload; APayloadSize: integer; var ABuffer): boolean;