You have had one half of your GC/MS investigation done; that gave a "fingerprint" (extensive fragmentation) type spectrum , i.e., an Electron ionization mass spectrum.
Identification of the unknown as dodecane is just the best match of the spectrum Vs. the spectrum of authentic dodecane in the database.
As such, and based on your other info, it is likely NOT to be dodecane.
The second half of your GC/MS investigation is to repeat the analysis, on the same sample, using a chemical ionization (CI) source.
This will / should give you info regarding the Mol. Wt. of the unknown---also pointers as to the presence of Halogens (F, Cl, Br, I) and Sulphur , Oxygen & odd or even number of N atoms if it contains N.
The Molecular ion region will be shown as [M+H]+, and losses of H2O, HX (X = F, Cl, Br , I) etc may occur.
Finally have a C,H,N,O combustion analysis done.
Regards,
Motoball