** server can‘t find 200.137.168.192.in-addr.arpa: NXDOMAIN

目录

  • 错误
  • 原因
    • 1、未配置解析该IP的参数
    • 2、DNS冲突
  • 解决


错误

server can’t find 200.137.168.192.in-addr.arpa: NXDOMAIN

原因

1、未配置解析该IP的参数

[root@centos1905 named]# nslookup
> 192.168.137.
Server:		192.168.137.100
Address:	192.168.137.100#53

** server can't find 192.168.137: NXDOMAIN
> 192.168.137.200
** server can't find 200.137.168.192.in-addr.arpa: NXDOMAIN
> 192.168.137.100
100.137.168.192.in-addr.arpa	name = ns.test.com.
100.137.168.192.in-addr.arpa	name = www.test.com.
> exit
  • 192.168.137.arpa中未配置解析该IP的参数
[root@centos1905 named]# vim 192.168.137.arpa
  1 $TTL 1D
  2 @       IN SOA  test.com.        root.test.com. (
  3                                         0       ; serial
  4                                         1D      ; refresh
  5                                         1H      ; retry
  6                                         1W      ; expire
  7                                         3H )    ; minimum
  8         NS      ns.test.com.
  9 ns      A       192.168.137.100
 10 100      PTR     ns.test.com.#解析192.168.137.100
 11 100      PTR     www.test.com.#解析192.168.137.100
 12 150      PTR     bbs.test.com.#解析192.168.137.150

2、DNS冲突

[root@localhost slaves]# nslookup
> 192.168.137.100
** server can't find 100.137.168.192.in-addr.arpa: NXDOMAIN
> ^C[root@localhost slaves]# 
[root@localhost slaves]# nslookup
> www.test.com
Server:		192.168.137.1
Address:	192.168.137.1#53

Non-authoritative answer:
Name:	www.test.com
Address: 69.172.200.235
> exit
  • DNS冲突:配置DNS后未修改系统原来的DNS地址

解决

  • 192.168.137.arpa中添加此参数
  • 修改DNS

你可能感兴趣的:(linux,centos)