dnsx icon indicating copy to clipboard operation
dnsx copied to clipboard

unstable results with dev version

Open ehsandeep opened this issue 2 years ago • 1 comments

dnsx version:

dev

Steps To Reproduce:

Running with latest version:

while true; do echo total: `chaos -d hackerone.com | dnsx -silent | wc`; done

total: 10
total: 10
total: 10
total: 11
total: 10
total: 11
total: 10
total: 11

Running with dev version:

while true; do echo total: `chaos -d hackerone.com | ./dnsx -silent | wc`; done

total: 7
total: 8
total: 9
total: 8
total: 10
total: 9
total: 9
total: 9
total: 9

Expected Behavior:

stable / expected results with dev code.

ehsandeep avatar Aug 27 '22 11:08 ehsandeep

not able to replicate the issue, getting stable results over multiple runs on dev

while true; do echo total: `chaos -d hackerone.com -silent | ./dnsx -silent | wc -l`; done

total: 11
total: 11
total: 11
total: 11
total: 11
total: 11
total: 11
total: 11
total: 11
...

parrasajad avatar Sep 21 '22 09:09 parrasajad

The difference in enumeration depends on which resolver is used during iterations, as they are rotated in a round-robin fashion. A -/+ 1 item difference among runs with UDP protocol is acceptable. Shall we attempt to resolve with all resolvers at least once until one is responsive? cc @ehsandeep

Mzack9999 avatar Dec 30 '22 12:12 Mzack9999

Moving to discussions as we are unable to repro this!

ehsandeep avatar Feb 13 '23 10:02 ehsandeep