BIND应该在ANSWER SECTION中返回Alogging来logging胶水logging吗?

我必须将test.example.com委托给第三方供应商。 使用BIND,在example.com区域文件中,我设置了六个NSlogging,如下所示:

test IN NS a.ns.test.example.com. test IN NS b.ns.test.example.com. test IN NS c.ns.test.example.com. test IN NS d.ns.test.example.com. test IN NS e.ns.test.example.com. test IN NS f.ns.test.example.com. 

他们特意要求这样的委托。 然后我build立了胶水logging:

 a.ns.test IN A IP1 a.ns.test IN A IP2 a.ns.test IN A IP3 a.ns.test IN A IP4 a.ns.test IN A IP5 a.ns.test IN A IP6 

现在,如果我查询a.ns.test.example.com.Alogginga.ns.test.example.com. 挖掘我得到一个权威部分和附加部分的答复,但没有答案部分。 我认为这是devise的,以避免不良的委托问题,以便parsing器caching来自权威服务器的结果。 但是,除非我们的服务器返回Alogging,否则第三方不会打开我们想要的服务。

我怎样才能做到这一点与BIND?

logging返回胶水从来没有权威,将永远不会出现在答案部分。 如果提供者只是想validation胶水是否存在,他们应该在附加部分看到它。

无论谁运行af.ns.test.example.com域名服务器,都需要在test.example.com区域中添加AAAAAlogging,因为您的委托域名服务器不能。

当BIND提供分配给您的区域的名称服务器的地址时,BIND会自动将Alogging转换为胶水。 一旦你像test.example.com一样build立了一个委托,BIND将把你所委托的主机的任何AAAAAlogging当作胶水处理。

这里是一个挖掘与代表团删除:

 ; <<>> DiG 9.7.0-P1 <<>> +norecurse @0 a.ns.test.example.com a ... ;; flags: qr aa ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1 ;; QUESTION SECTION: ;a.ns.test.example.com. IN A ;; ANSWER SECTION: a.ns.test.example.com. 5 IN A 1.1.1.1 ;; AUTHORITY SECTION: example.com. 5 IN NS gir.example.com. ;; ADDITIONAL SECTION: ns.example.com. 5 IN A 2.2.2.2 ;; Query time: 0 msec 

它是权威的回答。 这里只有添加的代表团(在你的问题中的第一个块)是一样的:

 ; <<>> DiG 9.7.0-P1 <<>> +norecurse @0 a.ns.test.example.com a ... ;; flags: qr ra; QUERY: 1, ANSWER: 0, AUTHORITY: 6, ADDITIONAL: 6 ;; QUESTION SECTION: ;a.ns.test.example.com. IN A ;; AUTHORITY SECTION: test.example.com. 5 IN NS f.ns.test.example.com. test.example.com. 5 IN NS d.ns.test.example.com. test.example.com. 5 IN NS a.ns.test.example.com. test.example.com. 5 IN NS c.ns.test.example.com. test.example.com. 5 IN NS e.ns.test.example.com. test.example.com. 5 IN NS b.ns.test.example.com. ;; ADDITIONAL SECTION: a.ns.test.example.com. 5 IN A 1.1.1.1 b.ns.test.example.com. 5 IN A 1.1.1.2 c.ns.test.example.com. 5 IN A 1.1.1.3 d.ns.test.example.com. 5 IN A 1.1.1.4 e.ns.test.example.com. 5 IN A 1.1.1.5 f.ns.test.example.com. 5 IN A 1.1.1.6 ;; Query time: 0 msec 

注意af.ns.test的Alogging现在是胶水。 这是自动完成的。 由于您正在委托test.example.com ,所以上级名称服务器不能再对test.example.com中的任何内容进行权威性回答。 但是,他们可以将区域中的Alogging作为胶水归还,因为它们正在委托给它们。