如何查询权威名称服务器到旁边传播时间? [英] How to query authoritative name server to side-step propagation times?

查看:197
本文介绍了如何查询权威名称服务器到旁边传播时间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个域名为123-reg.co.uk,我创建了一个TXT记录:





我已尝试通过使用 dig 主机 shell命令,但它似乎没有找到TXT记录。



例如...

  host -t txt integralist.co.uk 

...返回: integralist.co.uk没有TXT记录



起初我假设它可能是一个TTL问题,所以我试图使用 dig 直接查询一个权威名称服务器(从而避免TTL缓存关注),像这样

  dig txt integralist.co.uk @ ns.123-reg.co.uk。 

...但这不返回 ANSWER 部分。



我不知道我错过了什么,以便侧面的任何TTL /传播问题,可能阻止我直接查询权威的名称服务器看到记录。


注意:目前是2015年10月12日星期一下午4点,我在早上9点左右添加了TXT记录,所以到了这个时候有人答复任何传播时间框架,阻止记录在查询域可能已经通过



解决方案

p> DNS记录(与普遍的信念相反)不传播,它们正在缓存(这就是为什么有时您必须等待缓存在您进行DNS更改时过期)。就是说,当你创建一个新的记录时,缓存中没有任何内容到期,所以新记录应该立即可见。



现在,问题,一切都正好按照您的配置工作:

 ; <<>> DiG 9< @ 8.8.8.8 my-service-description.integralist.co.uk TXT 
; (找到1个服务器)
;;全局选项:+ cmd
;;得到答案:
;; - >> HEADER< - opcode:QUERY,status:NOERROR,id:1490
;;国旗:qr rd ra; QUERY:1,ANSWER:1,AUTHORITY:0,ADDITIONAL:0

;;问题部分:
; my-service-description.integralist.co.uk。 IN TXT

;;解答部分:
my-service-description.integralist.co.uk。 14399 IN TXTintegralist.co.uk是一个科技博客

;;查询时间:39毫秒
;;服务器:8.8.8.8#53(8.8.8.8)
;; WHEN:Mon Oct 12 19:48:28 2015
;; MSG SIZE rcvd:103

也许您要为区域顶点创建TXT记录:

  @ TXTintegralist.co.uk是一个科技博客


I have a domain with 123-reg.co.uk and I've created a TXT record:

I have tried to verify it has been applied by using both the dig and host shell commands, but it appears the TXT record isn't being found.

For example...

host -t txt integralist.co.uk

...returns: integralist.co.uk has no TXT record

At first I assumed it might be a TTL issue and so I tried to use dig to query one of the authoritative name servers directly (thus avoiding a TTL caching concern), like so

dig txt integralist.co.uk @ns.123-reg.co.uk.

...but this returns no ANSWER section.

I'm not sure what I'm missing in order to side step any TTL/propagation issues that might be preventing me from querying an authoritative name server directly and seeing the record.

Note: It's currently 4pm Mon 12th Oct 2015 and I added the TXT record around 9am this morning, so by the time someone replies any propagation time frame preventing the record from appearing when querying the domain may well have passed

解决方案

DNS records (contrary to popular belief) don't propagate, they are being cached (and that is why sometimes you have to wait for the cache to expire when you make DNS changes). That being said, when you create a new record there was nothing in the cache to expire, so new records should be visible immediately.

Now, to shed some light on your issue, everything is working exactly as you configured it:

 ; <<>> DiG 9 <<>> @8.8.8.8 my-service-description.integralist.co.uk TXT
 ; (1 server found)
 ;; global options: +cmd
 ;; Got answer:
 ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1490
 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

 ;; QUESTION SECTION:
 ;my-service-description.integralist.co.uk. IN TXT

 ;; ANSWER SECTION:
 my-service-description.integralist.co.uk. 14399    IN TXT "integralist.co.uk is a tech blog"

 ;; Query time: 39 msec
 ;; SERVER: 8.8.8.8#53(8.8.8.8)
 ;; WHEN: Mon Oct 12 19:48:28 2015
 ;; MSG SIZE  rcvd: 103

Maybe you wanted to create TXT record for the zone apex:

@   TXT         "integralist.co.uk is a tech blog"

这篇关于如何查询权威名称服务器到旁边传播时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆