![DNS 解析超时](https://linux22.com/image/735391/DNS%20%E8%A7%A3%E6%9E%90%E8%B6%85%E6%97%B6.png)
我在 Linux Centos 7 中有一个 DNS,当与 Windows Server 2012 R2 集成时,它只能以相反的方式解决,也就是说,使用它的 IP 地址,当我尝试直接解析服务器时,需要很长时间才能响应,我不知道为什么我会有这种不便,我以为是防火墙,但我在 Windows 和 Linux 中都禁用了它们,但问题仍然存在。
Windows Server 中的 nslookup
C:/ nslookup
Servidor Predeterminado: www.libelula.com.ec
Adress: 192.168.10.254
> 192.168.10.10
Servidor Predeterminado: www.libelula.com.ec
Adress: 192.168.10.254
Nombre: cli1.libelula.com.ec
Adress: 192.168.10.10
> cli1.libelula.com.ec
Servidor Predeterminado: www.libelula.com.ec
Adress: 192.168.10.254
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
Nombre: cli1.libelula.com.ec
Adress: 192.168.10.10
>
Centos 7 中的 nslookup
[root@root named]# nslookup
> 192.168.10.10
Server: 192.168.10.254
Address: 192.168.10.254#53
10.10.168.192.in-addr.arpa name = cli1.libelula.com.ec.
> cli1.libelula.com.ec
Server: 192.168.10.254
Address: 192.168.10.254#53
Name: cli1.libelula.com.ec
Address: 192.168.10.10
直接区
TTL 3H @ IN SOA libelula.com.ec. root.libelula.com.ec. (
2 ;serial
1D ;refresh
1H ;retry
1W ;expire
3H) ;minimum
@ IN NS libelula.com.ec.
@ IN A 192.168.10.254
@ IN MX 10 mail.libelula.com.ec.
www IN A 192.168.10.254
mail IN A 192.168.10.250
srv-dactivo IN A 192.168.10.253
cli1 IN A 192.168.10.10
cli2 IN A 192.168.20.20
cli3 IN A 192.168.30.30
反向区域
TTL 3H @ IN SOA libelula.com.ec. root.libelula.com.ec. (
2 ;serial
1D ;refresh
1H ;retry
1W ;expire
3H) ;minimum
@ IN NS libelula.com.ec.
@ IN A 192.168.10.254
250 IN PTR mail.libelula.com.ec.
254 IN PTR www.libelula.com.ec.
253 IN PTR srv-dactivo.libelula.com.ec.
10 IN PTR cli1.libelula.com.ec.
20 IN PTR cli2.libelula.com.ec.
30 IN PTR cli3.libelula.com.ec.