Have a local Synology Nas. I want to open it with http://myNAS
Can just open it with the IP http://192.168.188.21
Tried so far:
192.168.188.21 myNASI have tried that https://github.com/AdguardTeam/AdGuardHome/issues/694 and that https://github.com/AdguardTeam/AdGuardHome/issues/461
Both dont work.

add a local resolver (your router for example) for your internal domain:

or add a rewrite:

@phixion thank you for your reply.
Tried the DNS rewrite with
myNAS and the IP. Does not work.
You have the suffix .yourdomain.com
Does that have any reason? In my NAT is no domain.
edit:
tried nslookup myNAS
Result
Server: 127.0.0.53
Address: 127.0.0.53#53
** server can't find myNAS: SERVFAIL
Try rewrite If you dont use a domain
Try rewrite If you dont use a domain
I dont understand what to do.
Thx in advance
mynas (lower case) and 192.168.188.21nslookup mynas command@ameshkov
Added custom filter rule as proposed:
nslookup mynas in terminal on raspberry Server: 127.0.0.1
Address: 127.0.0.1#53Non-authoritative answer:
* Can't find mynas: No answer
nslookup mynas in terminal from my linux laptop locallyIt is not working.
I also have cleaned up my /etc/hosts because i had there names for resolving clients in local network.
127.0.0.1#53 -- do you have AdGuard Home running there or is it some other tool?
Do you see this query in AGH query log?
Yes I have adguard home running on a raspberry.
The ip of the pi is dns server in my router.
No, no other tool. Just some osx/iOS and Linux clients.
No I see that in terminal ssh session
Am 20.10.2020 um 00:56 schrieb Andrey Meshkov notifications@github.com:

127.0.0.1#53 -- do you have AdGuard Home running there or is it some other tool?
Do you see this query in AGH query log?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Could you please examine the query log and check if you see this mynas query there?
I am not able to reproduce this issue on my side. I see 2 options:
mynas query in the log - that's it)Hi, first i had mynas just as synonym. Real name of the NAS is "monster" :+1:
The the incident:
I have checked the query log and just see calls from my computer.
Some seconds before i tried to open my NAS by name, not IP: http:\\monster:8181

to your first point 1:
I can find monster, but with the suffix .fritz.box
to your second point 2:

I can find monster, but with the suffix .fritz.box
Weird. fritz.box most likely is the "search" domain.
Just in case, try adding monster.fritz.box and see if it helps.
Unbelievable @ameshkov but with monster.fritz.box everything is working
I dont understand it but its working :) Great thx
I dont want to overcomplicate this but adding these two to your upstream DNS should allow you to leave out the FQDN and go by the hostname:
[/fritz.box/]192.168.188.1
[/188.168.192.in-addr.arpa/]192.168.188.1
I am assuming here that your fritz router has the IP 192.168.188.1 and that your fritz router is the DHCP server of your network.
I did thank you :+1:
So with adding that to the upstream DNS i could leve out the .fritz.box from the rewrite setting :)
Awesome!
Your support was amazing