You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Bind9解析.local域记录失败的问题求助

Bind9解析.local域记录失败的问题求助

大家好,我刚接触Bind9,接手了一个使用.local域名的环境。我知道用.local很不合适,但目前没办法修改,只能先这么用下去。

我的需求是用Bind9做本地DNS缓存,特别是用来解析SRV记录,但每次用dig查询的时候都没法完全解析成功,还会看到这条警告:WARNING: .local is reserved for Multicast DNS。

下面是我执行dig prod.voip.local的输出:

; <<>> DiG 9.16.48-Debian <<>> prod.voip.local
;; global options: +cmd
;; Got answer:
;; WARNING: .local is reserved for Multicast DNS
;; You are currently testing what happens when an mDNS query is leaked to DNS
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 48192
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: a11a15c488caedf7010000006667a78480d395b756e49357 (good)
;; QUESTION SECTION:
;prod.voip.local. IN  A

;; Query time: 0 msec
;; SERVER:...

有没有大佬能帮忙看看怎么解决这个问题,让Bind9能正常解析.local域的记录呀?

备注:内容来源于stack exchange,提问作者jackblack

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.16 12:09:52