自托管Azure dns上托管的域的子域

时间:2019-12-08 19:16:31

标签: windows azure dns

我将域example.com托管在Microsoft Azure dns上。我试图在自己的服务器上托管一个子域my.example.com,但无法正确执行。就是这样。

  1. 我已经安装了具有活动目录的Windows服务器(s1.my.example.com)和"my.example.com"的dns。
  2. 服务器有一个公用ip a.b.c.d和一个ip在私有范围内,即10.x.y.z范围
  3. 我已在example.com区域的Azure dns中创建了一个ns记录 my NS 3600 a.b.c.d
  4. 现在,当我运行dig +trace s1.my.example.com时,两个IP会得到正确的结果。 s1.my.example.com. 1200 IN A a.b.c.d s1.my.example.com. 1200 IN A 10.x.y.z
  5. 但是当我运行dig s1.my.example.com时
 ; <<>> DiG 9.11.4-P2-RedHat-9.11.4-17.P2.el8_0.1 <<>> s1.my.example.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 17291
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;s1.my.example.com.     IN  A

;; Query time: 146 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)"

当我为托管主要区域的azure dns名称服务器之一提供dig时

dig s1.my.example.com @ns4-09.azure-dns.info.
; <<>> DiG 9.11.4-P2-RedHat-9.11.4-17.P2.el8_0.1 <<>> s1.my.example.com @ns4-09.azure-dns.info.
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22604
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4000
;; QUESTION SECTION:
;s1.my.example.com.     IN  A

;; AUTHORITY SECTION:
my.example.com. 3600    IN  NS  a.b.c.d.

;; Query time: 222 msec
;; SERVER: 13.107.160.9#53(13.107.160.9)

非常感谢您的帮助。

0 个答案:

没有答案
相关问题