logstash-plugins / logstash-filter-dns

Apache License 2.0
7 stars 28 forks source link

Option to define the type of address to retrieve in the resolve #68

Open duylong opened 2 years ago

duylong commented 2 years ago

Hi,

By default, using resolve retrieves only the first IP address, often in IPv4. In the case of a domain with IPv4 and IPv6, it would be interesting to choose to recover IPv4 or IPv6 or both.

We can for example add the type of record that we would like the resolve to retrieve. Values could be [ "A", "AAAA" ]

Best regards,