mafintosh / dns-packet

An abstract-encoding compliant module for encoding / decoding DNS packets
MIT License
205 stars 71 forks source link

Escaped dot in `rname` handled as normal dot #90

Closed JensSpanier closed 1 year ago

JensSpanier commented 1 year ago

For the rname in a SOA record it's possible to escape a dot.

So john\.doe.example.com should become john.doe@example.com. See here.

But the result is just john.doe.example.com and therefore it's not possible to finde the right . to replace it with an @.

M4t7e commented 1 year ago

@JensSpanier I created #93 that should fix the problem.