tungd / elixir-dns

DNS library for Elixir
BSD 3-Clause "New" or "Revised" License
114 stars 37 forks source link

Query ID is always zero #47

Open bortzmeyer opened 2 years ago

bortzmeyer commented 2 years ago

The outgoing DNS query ID is always zero, which removes a protection against some poisoning attempts (for instance a Kaminsky attack). This may not be an issue when querying a local resolver but more annoying when sending queries to a far away server. The query ID should be random.