1
General Discussion / Re: AdGuard - no client hostnames
« on: October 09, 2023, 04:55:32 pm »a) Move AGH to OPNsensea) Separate AGH seems to be more stable than the OPNsense plugin - I saw on this forum many people had issues recently because of updates to either OPNsense/AGH/AGH plugin on OPNsense - thankfully I never had any of those issues, plus I can easily backup/rollback AGH with no impact on OPNsense
b) Move DHCP to AGH
c) Do static mappings in AGH - Filters - DNS rewrites
b) I don't want to depend on AdGuard for anything more than adblocking. I like the idea that I can just replace AGH with say Pihole or something else and have close to zero impact on OPNsense.
c) This is what I currently do... and it gets very tedious after a while, especially when working with many devices and containers
reverse dns is working fine here.Did you have to partake in some sort of black magic rituals to get this working, because I want in as well
have you checked if something is wrong with your adguard settings or blocked by firewall itself?
https://github.com/AdguardTeam/AdGuardHome/wiki/Configuration#specifying-upstreams-for-reverse-dns
I added the following to my upstream DNS servers in AGH
Code: [Select]
[/in-addr.arpa/]192.168.101.1
[/ip6.arpa/]192.168.101.1
127.0.0.1:53
127.0.0.1:8053
And then 192.168.101.1 as the Private reverse DNS server.For reference - AdGuard is running in VLAN_101 and its IP address is 192.168.101.12, and the gateway IP of that VLAN is 192.168.101.1
Code: [Select]
> nslookup 192.168.101.134
** server can't find 134.101.168.192.in-addr.arpa: SERVFAIL
> nslookup homeassistant.lan
Server: 192.168.1.1
Address: 192.168.1.1#53
Non-authoritative answer:
Name: homeassistant.lan
Address: 192.168.101.134
> ping homeassistant.lan
PING homeassistant.lan (192.168.101.134) 56(84) bytes of data.
64 bytes from 192.168.101.134: icmp_seq=1 ttl=64 time=0.672 ms
64 bytes from 192.168.101.134: icmp_seq=2 ttl=64 time=0.517 ms
--- homeassistant.lan ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 12015ms
rtt min/avg/max/mdev = 0.467/0.572/0.672/0.083 ms
> ping 192.168.101.134
PING 192.168.101.134 (192.168.101.134) 56(84) bytes of data.
64 bytes from 192.168.101.134: icmp_seq=1 ttl=64 time=0.678 ms
64 bytes from 192.168.101.134: icmp_seq=2 ttl=64 time=0.662 ms
--- 192.168.101.134 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5101ms
rtt min/avg/max/mdev = 0.561/0.700/0.965/0.127 ms