Since firmware 4.6 has implemented independent configuration of VPN DNS (i.e., Allow Custom DNS to Override VPN DNS), we redirect the DNS query through VPN into a separate process and put AdGuardhome as upstream of it. This is a safer mechanism: the VPN dnsmasq process runs when VPN connection is established and exits when disconnected.
When "AdGuard Home Handle Client Requests" is turned on, the "AdGuard Home will show DNS query logs by client" function is affected in the following modes:
- Global Proxy
- Based on the Target Domain or IP - Do Not Use VPN
- Based on the Client Device, for the clients use VPN
- Based on the VLAN, for the VLAN that uses VPN
The following part is not affected:
- Based on the Target Domain or IP - Use VPN
- Based on the Client Device, for the clients not use VPN
- Based on the VLAN, for the clients not use VPN