DNS-OARC / ripeatlas

Go bindings for RIPE Atlas API
MIT License
11 stars 12 forks source link

Correctly handle DNS answers without RDATA #18

Closed ogasser closed 7 years ago

ogasser commented 7 years ago

Some DNS measurements (e.g. continuous measurements) do not have a RDATA field.

Example:

The specification [1] also says that RDATA is only used for SOA results.

Therefore DNS results without RDATA should be ignored instead of throwing an error.

[1] https://atlas.ripe.net/docs/data_struct/#v4610_dns