dnsjava - Storing key-value pairs in DNS request -


what recommended place storing key-value pairs in dns request?

i'm designing system dns requests traverse multiple hops. hops may need append key-value pairs traversing dns request.

i thought adding txt record questions section looks no data can set on txt record when present in questions section (i used dnsjava library generate dns request). thought using opt record.

what best practice?

thanks, mickael

there no recommended place store random information in dns query packet. can perhaps try stick in unused parts of opt rr (or add random rdata it) , hope nobody on way drop or corrupt it, there absolutely no guarantees whatsoever work. unless, of course, control software involved, in case you're free redefine dns wire format see fit (just don't expect interoperate internet).

also question smells lot "a-b-question". you're trying achieve?


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -