> I know how to mask it and get the offset, I only need to know where it's being measured from.
Missed this bit which might render the above moot. From the beginning of the DNS packet. The 12 used in the example above would be immediately after the end of the header (the header, as I'm sure you know is 12 bytes long), so it's a pointer to the name value in the question.
Chris