我的域是不可见的世界

我怎样才能使我自己托pipe的域名可见世界?

问题详情:

我有一个不可见的域名donotrape.me 。 我的系统是Debian 7 64BIT,Bind9,Apache

Debian防火墙处于默认模式(closures,我想是这样(参考: https : //wiki.debian.org/DebianFirewall )),端口80打开并转发到192.168.1.2

named.conf如下:

  zone "donotrape.me" { type master; file "/etc/bind/zones/e.donotrape.me"; }; 

区域文件文件如下:

 ;; file: /etc/bind/zones/e.donotrape.me ;; domain: donotrape.me $TTL 86400 donotrape.me IN SOA NS1.IMSINGH.COM. ROOT.IMSINGH.COM. ( 20130703021 ;Serial 3600 ;Refresh 1800 ;Retry 604800 ;Expire 86400 ;Minimum TTL ) donotrape.me IN NS NS1.IMSINGH.COM. donotrape.me IN NS NS2.IMSINGH.COM. donotrape.me IN A 59.177.154.251 NS1 IN A 59.177.154.251 NS2 IN A 59.177.154.251 www IN CNAME NS1 

此域名已在GoDaddy.com注册,所以域名服务器有: ns1.imsingh.comns2.imsingh.com

域名检查报告,你可以在http://www.intodns.com/donotrape.me看到它主要是显示这些错误

Nameservers A records ERROR: Some of your DNS servers do not have A records at all. I could not find any A records for the following DNS servers: Nameservers A records ERROR: Some of your DNS servers do not have A records at all. I could not find any A records for the following DNS servers: ns2.imsingh.com ns1.imsingh.com You must have A records for all of your nameservers.

Mismatched NS records WARNING: One or more of your nameservers did not return any of your NS records. Error DNS servers responded ERROR: One or more of your nameservers did not respond: The ones that did not respond are: ns2.imsingh.com ns1.imsingh.com

在LAN中运行良好

你能build议任何解决scheme,以便这个网站是开放的世界

我终于清除了iptables

apt-get purge iptables

但仍然没有解决scheme

所以我认为防火墙不是问题,也不存在我的系统问题

那两个服务器ns1.imsingh.comns2.imsingh.com确实没有Alogging。
据我所见,这些服务器不归GoDaddy所有。

联系GoDaddy,找出你需要使用哪个服务器。

挖imsingh.com显示:

 imsingh.com. 172683 IN NS ns1.imsingh.com. imsingh.com. 172683 IN NS ns2.imsingh.com. 

但ns1和ns2不会在端口53上响应。您应该检查您的fw conf以打开您的ns1和ns2的DNSstream量。

你应该添加到你的防火墙somtehing像:

 # Redirect DNS traffic (tcp/53 and udp/53) to DNS server iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 53 \ -j DNAT --to-destination 192.168.1.2:53 iptables -t nat -A PREROUTING -i eth0 -p udp --dport 53 \ -j DNAT --to-destination 192.168.1.2:53 iptables -A FORWARD -i eth0 -p tcp --dport 53 \ -o eth1 -d 192.168.1.2 \ -m conntrack --ctstate NEW -j ACCEPT iptables -A FORWARD -i eth0 -p udp --dport 53 \ -o eth1 -d 192.168.1.2 \ -j ACCEPT