devgianlu / DNSHero

An Android app to inspect DNS zones like a superhero

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support multiple values in TXT records

johanfleury opened this issue · comments

Hi,

DNSHero does not support TXT records with multiple values:

The TXT record view in DNSHero showing only one of the values

The actual values are:

$ dig +short TXT paris.now.weather.dyn.bortzmeyer.fr
"Paris" "Sunny" "26.0 C" "precipitation 0.0 mm" "wind 6.8 km/h" "cloudiness 0 %" "humidity 51 %"

I think this is because of that .get(0) at line 24 in TXTAdapter.java, but my Java/Android skills are limited and I don’t have the infra to make a proper PR and test it.