SPCDNS icon indicating copy to clipboard operation
SPCDNS copied to clipboard

Using non-default port for query

Open josefig opened this issue 3 years ago • 1 comments

Hello Sean,

Thank you for publishing your code, it's been very useful for learning and personal projects. I have a doubt, I want to do query with your encode request, but this is a NAPTR type and the port is not the default port 53.

Is it possible for you to please indicate how can I do the query on a non-default port?

Thanks in advance!

josefig avatar Aug 03 '22 06:08 josefig

The network code provided isn't meant to be used in production, but as a means to test the encoding and decoding of DNS packets. As it states in the README file, it's simple and dumb, not something to be used in a real project (and perhaps I should clarify that point).

spc476 avatar Aug 03 '22 08:08 spc476