Adguard home configuration and UI Edgerouter

I have spent days and read over hundreds of posts on this and still cannot get this to work correctly.

Here is my problem.

I am on a Mac and when I do command+K and type in smb://Backup (hostname of my NAS) it states it cannot connect.

If I ping Backup from my Mac it gives the external IP address and not the internal IP.

If I ping Backup from my Edgerouter X I get the correct Internal IP.

I have setup DNSmasq

I have set System name server to the ip of my Edgerouter x

The output of show dns forwarding name servers


Nameservers configured for DNS forwarding


8.8.8.8 available via ‘statically configured’

8.8.4.4 available via ‘statically configured’

192.168.0.1 available via ‘optionally configured’

I also have adguard home running on my Home Assistant and have the ip address for it under DNS 1 in system > Services > DHCP Server.

Within AdGuard I have 192.168.0.1 under Private DNS Servers I have 192.168.0.1 (IP of router)
and have “Enable reverse resolving of clients’ IP Addresses” checked.

I posted on UIs (edge router maker) community and still haven’t figured it out so was hopefully someone here can help me.

Thanks for any help.