我正在尝试从DNS服务器获取DNS名称:
DirContext ctx = null;
Attributes attrs = ctx.getAttributes(Ip ,new String[] {"PTR"});
但它引发了异常:
javax.naming.NameNotFoundException:找不到DNS名称[响应代码3];剩余名称'11 .70.168.192.in-addr.arpa'
答案 0 :(得分:1)
根据opendns website,响应代码3错误表示Domain name does not exist
。
这可能是由三件事引起的: