4 ms·
You are probably misremembering, as DNS queries and responses don't contain dots (as the article points out). Maybe you were missing the \0 terminator after the
by lultimouomo 4y ago
You are probably misremembering, as DNS queries and responses don't contain dots (as the article points out). Maybe you were missing the \0 terminator after the last name segment? In which case it's quite clear why the request was failing, as it would have not been unambiguously parseable.
- silisili 4y agoYou're probably right, this was nearly 20 years ago. I only remember because my wife remembered my excitement and always used it to call me a nerd, adjusting her nonexistent glasses, snorting, and say 'i was missing a dot.' In good fun. If I had to guess, I had the function that accepted the query name call a function that split on dots to do the encoding, meaning a missing trailing dot means a missing null terminator.