Hi all,
Does the hostname resolution in adblock work for anyone? I have check the box in “Advanced Report Settings” - “Resolve IPs” but only IPs are still displayed in the reporting… What could be the problem?
Many greetings…
Hi all,
Does the hostname resolution in adblock work for anyone? I have check the box in “Advanced Report Settings” - “Resolve IPs” but only IPs are still displayed in the reporting… What could be the problem?
Many greetings…
Missing reverse PTR record for that IPs?
Oh sorry I am not exactly know what you mean, where can I check this PTR settings? Do you mean this?
Forward/reverse DNS (Add static forward and reverse DNS entries for this host.)
PTR records for public hosts are done by the IP owners in rDNS of their domain. There is nothing much you can do about that. But is it failing fo all IPs or just some? For me resolving works in 99,9% except for local addresses and very few public. I saw in other topic that you were messing with your DNS configuration. Maybe thats the reason.
You may check from console using dig with the -x parameter to check rDNS resolution if it works for you:
dig +short -x 9.9.9.9
Should return Quad9 domain
Did you restart adblock service after changing the configuration?
The problem ist that for public addresses it works, but should that not also working for local addresses?
root@turris:~# dig +short -x 9.9.9.9
dns9.quad9.net.
root@turris:~# nslookup 9.9.9.9
Server: 127.0.0.1
Address: 127.0.0.1:53
Non-authoritative answer:
9.9.9.9.in-addr.arpa name = dns9.quad9.net
root@turris:~# dig +short -x 192.168.1.21
root@turris:~# nslookup 192.168.1.21
Server: 127.0.0.1
Address: 127.0.0.1:53
** server can't find 21.1.168.192.in-addr.arpa: NXDOMAIN
Well there must be some way of adding PTR using knot. Eaither run your own full authoritary DNS and point your Turris device to use it or take a look into knot resolver documentation if there is some way of adding PTR records statically by hand or maybe some scripted automatic matter.
@vcunat do you know a way?
Also how many local IPs do you block? The only advantage I see is your clients would get a nicer names in the reports
See here and around
@AreYouLoco
I have round about 50 local devices which are using adblock on the turris.
Yes, I think also, the only advantage where to see a nicer name in the report.
@vcunat
Thank you for the link.
“…are still a bit troublesome on Turris”. Is this simply the situation in Turris (knot) or will on this topic continue to be worked on and implemented differently at some point?
In Knot Resolver 6.x this just works already, I think, but we don’t have a good Turris OS integration yet.