知道ip怎么查看计算机名字????

由 Snoopy 在 07-01-2003 13:47 发表:

知道ip怎么查看计算机名字????

我想知道在同个内网内,知道某个ip用什么命令查看它的计算机名字啊 ?


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 dancingpig 在 07-01-2003 15:19 发表:


用dns反向解析


由 liangxinf 在 07-01-2003 15:26 发表:


ping -a 172.48.0.202

需要有dns or wins server.


由 Snoopy 在 07-01-2003 15:58 发表:


dns开着,ping -a ip,还是没有啊!!!!!!

用dns反向解析??如何操作??用nslookup???


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 dancingpig 在 07-01-2003 16:31 发表:


反向解析要dns里配置的,你看看dns配置的文章


由 欧可侠 在 07-01-2003 17:03 发表:


想查询内网内计算机的名字,提供内网domain查询的DNS服务器必须存在。DNS服务器的配置文件中必须有相关的记述。比如说:

PC01 IN A 192.168.1.1

PC02 IN A 192.168.1.2

.......

除此之外,内网内的计算机DNS还必须指向上述的服务器。

这时在内网中的计算机上输入:

nslookup 192.168.1.1

就会显示:

Server: yourlocaldns.private

Address: 192.168.1.100

Name: PC01

Address: 192.168.1.1


如果你喜欢电脑绘图, 试用一下免费图形处理软件

----中文Pixia (http://www.delta-opt.com/pixia/)


由 sunboy_yt 在 07-01-2003 20:17 发表:


不错。。。有见的。。。。。


由 Snoopy 在 07-01-2003 22:16 发表:


比如我要查看192.168.113.168的主机名!我的dns配置是这样的

/etc/named.conf

// generated by named-bootconf.pl

options {

directory "/var/named";

/*

  • If there is a firewall between you and nameservers you want

  • to talk to, you might need to uncomment the query-source

  • directive below. Previous versions of BIND always asked

  • questions using port 53, but BIND 8.1 uses an unprivileged

  • port by default.

*/

// query-source address * port 53;

};

//

// a caching only nameserver config

//

controls {

inet 127.0.0.1 allow { localhost; } keys { rndckey; };

};

zone "." IN {

type hint;

file "named.ca";

};

zone "localhost" IN {

type master;

file "localhost.zone";

allow-update { none; };

};

zone "0.0.127.in-addr.arpa" IN {

type master;

file "named.local";

allow-update { none; };

};

zone "snoopy.gov" IN {

type master;

file"snoopy.gov";

};

zone "113.168.192.in-addr.arpa"IN {

type master;

file "snoopy.ptr";

};

include "/etc/rndc.key";

/var/named/snoopy.gov

$ttl 86400

@ IN SOA snoopy.gov. root.localhost. (

2003052601;

28800;

14400;

3600000;

86400);

IN NS ns.snoopy.gov.

ns IN A 192.168.113.88

ns1 IN A 192.168.113.168 /这里加上这么一行/

www IN CNAME ns

~

/var/named/snoopy.ptr

$ttl 86400

@ IN SOA snoopy.gov. root.localhost. (

2003052602;

28800;

14400;

3600000;

86400);

IN NS ns.snoopy.gov.

88 IN PTR ns.snoopy.gov.

ns1 IN PTR 192.168.113.168

这样我用nslookup 192.168.113.168,,找不到

顺便多个问题是,,,在/etc/named.conf里最后一句

include "/etc/rndc.key";

是什么意思来的啊????


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 欧可侠 在 07-01-2003 22:25 发表:


看你的配置文件应该没有问题。。。

用 nslookup 192.168.113.168 找不到的错误信息是什么?

如果nslookup查询的不是本机DNS,还

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus