大约一周前,我关注了有关创建子域托管区域的 AWS Route 53 说明处理“request.i-codedesign.com”的流量。
托管区域配置了以下 NS 服务器:
ns-1009.awsdns-62.net。
ns-1198.awsdns-21.org。
ns-1.awsdns-00.com。
ns-1807.awsdns-33.co.uk。
另外一周前,我更新了我们的 DNS 服务(Dotster)以添加上述名称服务器记录:
一段时间内,这种方法运行良好,流量能够到达目标服务器。
在过去的一周内,它停止工作了。我可以采取哪些步骤来解决这个问题?nslookup request.i-codedesign.com ns-1.awsdns-00.com
例如,我试过,但它只返回四组“DNS 请求超时。超时为 2 秒。”
编辑
当我从家里尝试时,地址解析了,我可以看到我的网络应用程序。
从这里开始,这是 nslookup 结果:
C:\jhfrench>nslookup
Default Server: Wireless_Broadband_Router.home
Address: 192.168.1.1
> set debug
> request.i-codedesign.com
Server: Wireless_Broadband_Router.home
Address: 192.168.1.1
------------
Got answer:
HEADER:
opcode = QUERY, id = 2, rcode = NXDOMAIN
header flags: response, auth. answer, want recursion, recursion avail.
questions = 1, answers = 0, authority records = 1, additional = 0
QUESTIONS:
request.i-codedesign.com.home, type = A, class = IN
AUTHORITY RECORDS:
-> home
ttl = 3600 (1 hour)
primary name server = home
responsible mail addr = (root)
serial = 10274
refresh = 3600 (1 hour)
retry = 3600 (1 hour)
expire = 3600 (1 hour)
default TTL = 3600 (1 hour)
------------
------------
Got answer:
HEADER:
opcode = QUERY, id = 3, rcode = NXDOMAIN
header flags: response, auth. answer, want recursion, recursion avail.
questions = 1, answers = 0, authority records = 1, additional = 0
QUESTIONS:
request.i-codedesign.com.home, type = AAAA, class = IN
AUTHORITY RECORDS:
-> home
ttl = 3600 (1 hour)
primary name server = home
responsible mail addr = (root)
serial = 10275
refresh = 3600 (1 hour)
retry = 3600 (1 hour)
expire = 3600 (1 hour)
default TTL = 3600 (1 hour)
------------
------------
Got answer:
HEADER:
opcode = QUERY, id = 4, rcode = NOERROR
header flags: response, want recursion, recursion avail.
questions = 1, answers = 1, authority records = 0, additional = 0
QUESTIONS:
request.i-codedesign.com, type = A, class = IN
ANSWERS:
-> request.i-codedesign.com
internet address = 54.225.172.91
ttl = 300 (5 mins)
------------
Non-authoritative answer:
------------
Got answer:
HEADER:
opcode = QUERY, id = 5, rcode = NOERROR
header flags: response, want recursion, recursion avail.
questions = 1, answers = 0, authority records = 1, additional = 0
QUESTIONS:
request.i-codedesign.com, type = AAAA, class = IN
AUTHORITY RECORDS:
-> request.i-codedesign.com
ttl = 900 (15 mins)
primary name server = ns-1828.awsdns-36.co.uk
responsible mail addr = awsdns-hostmaster.amazon.com
serial = 1
refresh = 7200 (2 hours)
retry = 900 (15 mins)
expire = 1209600 (14 days)
default TTL = 86400 (1 day)
------------
Name: request.i-codedesign.com
Address: 54.225.172.91
答案1
$ ~ dig request.i-codedesign.com ns
; <<>> DiG 9.8.3-P1 <<>> request.i-codedesign.com ns
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 6399
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;request.i-codedesign.com. IN NS
;; AUTHORITY SECTION:
i-codedesign.com. 10798 IN SOA ns3.webminders.com. root.i-codedesign.com. 1316218819 10800 1800 604800 300
;; Query time: 42 msec
;; SERVER: 192.168.3.1#53(192.168.3.1)
;; WHEN: Fri Jun 20 15:46:30 2014
;; MSG SIZE rcvd: 98
该区域没有 NS 记录,这是一个问题。我发出的查询应该返回您在答案中引用的四个名称服务器。
在您的i-codedesign.com
区域中,您需要为子域创建 NS 记录request
。
关于您发布的名称服务器记录,这些记录适用于 i-codedesign.com。您仍需要为请求子域创建 NS 记录。