我有一些与.hr域名(克罗地亚域名)的问题,我想我已经搞砸了DNSlogging。
例如:jelisavacwlan.hr工作正常,但centartepiha.hr有时变得无法访问(即使ping不工作)。
即使现在(在撰写本文时)centartepiha.hr不可访问和查看访问日志服务器上没有请求进入端口80。
bind9服务工作正常,并回答每一个请求。
服务器具有域名(gamuru.com),并将主机定义为ns1.gamuru.com。 NS2在ns0.xname.org上。
gamuru.com:
A @ => 144.76.173.238 CNAME * => @ CNAME ftp => @ CNAME www => @ NS @ => ns1.gamuru.com NS @ => ns65.domaincontrol.com
( 这里有更多关于gamuru.com的信息 )
gamuru上的DNSlogging:
type name Data Prio TTL A centartepiha.hr. 144.76.173.238 0 3600 A mail 144.76.173.238 0 3600 A www 144.76.173.238 0 3600 MX centartepiha.hr. mail.centartepiha.hr. 10 3600 NS centartepiha.hr. ns1.gamuru.com. 0 3600 NS centartepiha.hr. ns1.xname.org. 0 86400 NS centartepiha.hr. ns0.xname.org. 0 3600
xname上的DNSlogging:
centartepiha.hr. IN SOA ns0.xname.org. 9a3bsp.gmail.com. ( 2013101001 ; serial 10800 ; Refresh period 3600 ; Retry interval 604800 ; Expire time 10800 ; Negative caching TTL ) $ORIGIN centartepiha.hr. IN NS ns1.gamuru.com. IN NS ns1.xname.org. IN NS ns0.xname.org. IN NS ns2.xname.org. centartepiha.hr. IN A 144.76.173.238
我究竟做错了什么? 或者整个设置是错误的?
;; AUTHORITY SECTION (4 records) hr. 172800 IN NS sns-pb.isc.org. hr. 172800 IN NS ns5.univie.ac.at. hr. 172800 IN NS n3ns.nic.es. hr. 172800 IN NS hr-ns-1.carnet.hr.
这很好,所以让我们来检查第一个(所有4个将回答相同的答案):
hr-ns-1.carnet.hr为doman centartepiha.hr返回两个名称服务器
;; AUTHORITY SECTION (2 records) centartepiha.hr. 14440 IN NS ns1.gamuru.com. centartepiha.hr. 14440 IN NS ns1.xname.org.
先来查看www.centartepiha.hr的ns1.gamuru.com:
;; ANSWER SECTION (1 record) www.centartepiha.hr. 3600 IN A 144.76.173.238
这是好的,这就是为什么centartepiha.hr有时会起作用
我们来查看www.centartepiha.hr的ns1.xname.org:
;; QUESTION SECTION: ;www.centartepiha.hr. IN A ;; AUTHORITY SECTION: centartepiha.hr. 86400 IN SOA ns0.xname.org. 9a3bsp.gmail.com. 2013100401 10800 3600 604800 10800
这里没有答案。 您应该在ns1.xname.org上为www.centartepiha.hr添加Alogging。
除此之外,ns1.gamuru.com被configuration为gamuru.com域的NS,但gamuru.com @ 144.76.173.238的查询被拒绝(幸运的是ns66.domaincontrol.com响应正常),您应该修复此问题。
http://www.dnsstuff.com和dns.squish.net会给你很多有价值的信息。
编辑:如果你只是想解决centartepiha.hr(没有www),你只需要修复ns1.gamuru.com
以下名称服务器不返回Alogging
dig A centartepiha.hr @ns65.domaincontrol.com +short Returns no record
以下是确定的:
dig A centartepiha.hr @ns0.xname.org +short dig A centartepiha.hr @ns1.gamuru.com +short dig A centartepiha.hr @ns1.xname.org +short
以上所有回报:144.76.173.238
在名称服务器domaincontrol.com中添加一个域的logging