TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

What domain name to use for your home network?

5 点作者 InitEnabler将近 2 年前

1 comment

LinuxBender将近 2 年前
<i>Do not use undelegated domain names like .lan, .home, .homenet, .homegroup, .network, nor should you make up your own domain name. If you use a made-up domain name, then DNS requests may go unfulfilled by your router and it forwards them to the global DNS root servers.</i><p>Adding for completeness sake one can ignore this if they run their own DNS at home and add their custom local domain as private. An example of telling Unbound DNS that a domain is local [1]:<p><pre><code> private-domain: &quot;hotmess&quot; local-data: &quot;my.hotmess. 1d IN A 10.10.10.10&quot; local-data-ptr: &quot;10.10.10.10 1d my.hotmess.&quot; local-zone: &quot;use-application-dns.net.&quot; always_nxdomain dig my.hotmess my.hotmess. 86400 IN A 10.10.10.10 ;; Query time: 0 msec </code></pre> <i>No root servers were harmed in this demonstration</i><p>The potential side-effect would be that DoH hosts that do not query &quot;use-application-dns.net&quot; or ignore it will not be able to resolve this. There are pros and cons to this and one must judge for themselves if this is acceptable. As a side note, if people wish to reduce the load on the root servers then consider running your own DNS server and also tuning every OS and DNS library to prefer either ipv4 or ipv6 first, whichever one makes the most requests for and remove search domains. This alone can cut out over 30% of all DNS requests.<p>[1] - <a href="https:&#x2F;&#x2F;unbound.docs.nlnetlabs.nl&#x2F;en&#x2F;latest&#x2F;manpages&#x2F;unbound.conf.html#unbound-conf-private-domain" rel="nofollow">https:&#x2F;&#x2F;unbound.docs.nlnetlabs.nl&#x2F;en&#x2F;latest&#x2F;manpages&#x2F;unbound...</a>
评论 #36143818 未加载