Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Address bar does not resolve local DNS (on Desktop and Android)

  • 3 个回答
  • 0 人有此问题
  • 135 次查看
  • 最后回复者为 Archirk

I try to configure DNS server on Synology NAS. NAS has static ip address(192.168.0.30) on local network. I installed DNS server and added zone(nas with A record my.nas - 192.168.0.30). DNS server also added to router.

I am sure that DNS server configured properly because when I do in command line: curl my.nas and curl 192.168.0.30 provide same successful response and dig my.nas also show expected response.

Proxy options and DoH **are disabled** in my Firefox. Futhermore, on page `about:networking#dnslookuptool` browser resolves `my.nas` correctly.(scrrenshot)

However when i enter `my.nas` into address bar in Firefox(Desktop and mobile) it can not resolve it (in my case forward me to NAS login page)

I try to configure DNS server on Synology NAS. NAS has static ip address(192.168.0.30) on local network. I installed DNS server and added zone(nas with A record ''my.nas - 192.168.0.30''). DNS server also added to router. I am sure that DNS server configured properly because when I do in command line: ''curl my.nas'' and ''curl 192.168.0.30'' provide same successful response and ''dig my.nas'' also show expected response. Proxy options and DoH **are disabled** in my Firefox. Futhermore, on page `about:networking#dnslookuptool` browser resolves `my.nas` correctly.(scrrenshot) However when i enter `my.nas` into address bar in Firefox(Desktop and mobile) it can not resolve it (in my case forward me to NAS login page)
已附加屏幕截图

所有回复 (3)

Try updating your local host file (/etc/hosts) with something like this...

192.168.0.30 my.nas

由jonzn4SUSE于修改

I like to block Facebook. My host file has 127.0.0.1 facebook and when I enter facebook in the address bar I get nothing.

由jonzn4SUSE于修改

jonzn4SUSE said

Try updating your local host file (/etc/hosts) with something like this... 192.168.0.30 my.nas

That not desired solution even if it works.

Current workaround is to disable google-search from address bar. Because, apparently, if zone is not publicly available(like com, net, dev etc) Firefox does not try to resolve it and redirects query to search engine.

由Archirk于修改