我有一个很奇怪的问题,我无法弄清楚。 在我的服务器上,我托pipe了两个不同域的两个应用程序:1. onlinelogistics.eu 2. resursecrestine.org
我还托pipe一个DNS服务器(fedora服务器),我configuration解决这两个域。 问题是只有第一个域名解决了,另一个没有解决。
“onlinelogistics.eu”的区域文件是:
onlinelogistics.eu. IN SOA ns1.onlinelogistics.eu. root.onlinelogistics.eu. ( 1194130303 10800 3600 604800 38400 ) @ IN NS onlinelogistics.eu. onlinelogistics.eu. IN NS ns1.onlinelogistics.eu. onlinelogistics.eu. IN NS ns2.onlinelogistics.eu. ns1.onlinelogistics.eu. IN A 85.25.124.83 ns2.onlinelogistics.eu. IN A 85.25.124.83 onlinelogistics.eu. IN A 85.25.124.83 www.onlinelogistics.eu. IN A 85.25.124.83 ftp.onlinelogistics.eu. IN A 85.25.124.83 m.onlinelogistics.eu. IN A 85.25.124.83 *.onlinelogistics.eu. IN A 85.25.124.83 IN A 85.25.124.83 onlinelogistics.eu. IN MX 10 ASPMX.L.GOOGLE.COM. onlinelogistics.eu. IN MX 20 ALT1.ASPMX.L.GOOGLE.COM. onlinelogistics.eu. IN MX 20 ALT2.ASPMX.L.GOOGLE.COM. onlinelogistics.eu. IN MX 30 ASPMX2.GOOGLEMAIL.COM. onlinelogistics.eu. IN MX 30 ASPMX3.GOOGLEMAIL.COM. onlinelogistics.eu. IN MX 30 ASPMX4.GOOGLEMAIL.COM. onlinelogistics.eu. IN MX 30 ASPMX5.GOOGLEMAIL.COM. onlinelogistics.eu. IN TXT "v=spf1 a mx a:onlinelogistics.eu ip4:85.25.124.83 ?all"onlinelogistics:~
现在,对于其他域我做了一个复制/粘贴,并用“resursecrestine.org”取代了onlinelogistics.eu,但仍然没有find该域。
命令“whois resursecrestine.org”查找名称服务器(ns1.resursecrestine.org),所以我相信问题是DNS服务器无法find地址。
任何想法,高度赞赏!
谢谢!
你有没有在你的named.conf文件中创build区域? 即:
zone "resursecrestine.org" { type master; file "resursecrestine.org"; };
根据挖+跟踪,它确实解决…并通过浏览器检查,加载。 那么这个解决了吗?
; <<>> DiG 9.2.4 <<>> +trace resursecrestine.org ;; global options: printcmd . 306040 IN NS A.ROOT-SERVERS.NET. . 306040 IN NS B.ROOT-SERVERS.NET. . 306040 IN NS C.ROOT-SERVERS.NET. . 306040 IN NS D.ROOT-SERVERS.NET. . 306040 IN NS E.ROOT-SERVERS.NET. . 306040 IN NS F.ROOT-SERVERS.NET. . 306040 IN NS G.ROOT-SERVERS.NET. . 306040 IN NS H.ROOT-SERVERS.NET. . 306040 IN NS I.ROOT-SERVERS.NET. . 306040 IN NS J.ROOT-SERVERS.NET. . 306040 IN NS K.ROOT-SERVERS.NET. . 306040 IN NS L.ROOT-SERVERS.NET. . 306040 IN NS M.ROOT-SERVERS.NET. ;; Received 316 bytes from 172.18.251.240#53(172.18.251.240) in 1 ms org. 172800 IN NS B0.ORG.AFILIAS-NST.org. org. 172800 IN NS B2.ORG.AFILIAS-NST.org. org. 172800 IN NS A0.ORG.AFILIAS-NST.INFO. org. 172800 IN NS D0.ORG.AFILIAS-NST.org. org. 172800 IN NS C0.ORG.AFILIAS-NST.INFO. org. 172800 IN NS A2.ORG.AFILIAS-NST.INFO. ;; Received 439 bytes from 198.41.0.4#53(A.ROOT-SERVERS.NET) in 61 ms resursecrestine.org. 86400 IN NS ns4.afraid.org. resursecrestine.org. 86400 IN NS ns3.afraid.org. resursecrestine.org. 86400 IN NS ns1.afraid.org. resursecrestine.org. 86400 IN NS ns2.afraid.org. ;; Received 180 bytes from 199.19.54.1#53(B0.ORG.AFILIAS-NST.org) in 42 ms resursecrestine.org. 3600 IN A 85.25.124.83 resursecrestine.org. 86400 IN NS ns1.afraid.org. resursecrestine.org. 86400 IN NS ns4.afraid.org. resursecrestine.org. 86400 IN NS ns3.afraid.org. resursecrestine.org. 86400 IN NS ns2.afraid.org. ;; Received 196 bytes from 208.43.71.243#53(ns4.afraid.org) in 29 ms
不,不像你说的, resursecrestine.org工作,它是onlinelogistics.eu失败:
% check_soa onlinelogistics.eu There was no response from ns2.onlinelogistics.eu There was no response from ns1.onlinelogistics.eu % check_soa resursecrestine.org ns4.afraid.org has serial number 1001120004 ns1.afraid.org has serial number 1001120004 ns2.afraid.org has serial number 1001120004 ns3.afraid.org has serial number 1001120004
首先要做的是,在Unix上运行每个守护进程: 检查日志文件 ! 例如,BIND给出了有关它加载或加载失败的区域的综合信息。 这将解决greeblesnort的build议。
另外,“不解决”不够精确。 用dig @your-name-server并报告实际结果。
最后,您的区域文件将更易于阅读,并且更易于使用相对名称进行pipe理。
你有正确的名称服务器的IP地址? checkdns.net报告名称服务器(85.25.124.83)没有响应。 如果这个IP地址是正确的,那么可能绑定启动失败,因为你的zonefile或named.conf.local有错误。 使用named-checkconf和named-checkzone检查这两者。