DNS查找... [英] DNS lookup...

查看:64
本文介绍了DNS查找...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个网页,用于查询数据库,返回包含

全系列网址(主机标题)的记录集。


我要显示这些在一个表中,其中一列保持

当前IP每个网址的地址。我知道如何使用nslookup从cmd提示符中获取这些IP

地址的列表但我绝对无能

如何在我的ASP页面中掌握这些值。


我只限于这个必须只有ASP(VBScript,而不是.NET),

即我无法调用安装任何组件。


欢迎任何建议


谢谢


Griff

解决方案

我不认为你可以直接做到这一点....

但是......也许你可以将nslookup管道传输到文本文件中?除此之外

你需要一个额外的组件因为我不相信在asp / vbscript中有任何

内置方法。


-

Curt Christianson

所有者/首席开发人员,DF-Software
www.Darkfalz.com

" GriffithsJ" <的Gr ************ @ hotmail.com>在留言中写道

新闻:%2 *************** @ TK2MSFTNGP12.phx.gbl ...

我有一个查询数据库的网页,返回包含
a整个系列URL(主机标题)的记录集。

我想在一个表中显示这些,其中一列包含
目前的IP每个网址的地址。我知道如何使用nslookup从cmd提示符中获取这些IP地址列表但我绝对无能为力
如何在我的ASP页面中掌握这些价值。

我仅限于这一点必须只是ASP(VBScript,不是。 NET),
即不能安装任何组件。

欢迎任何建议

谢谢

Griff



也许你可以将nslookup管道传输到文本文件?


这就足够了。 ......任何想法如何做到这一点?


谢谢


Griff


< blockquote>" nslookup www.darkfalz.com > c:\yourFile.txt"


在vbscript的命令调用中运行它

http://www.darkfalz.com/1100

-

Curt Christianson

业主/首席开发人员,DF-Software
www.Darkfalz .com

" GriffithsJ" <的Gr ************ @ hotmail.com>在消息中写道

news:%2 ****************** @ TK2MSFTNGP12.phx.gbl ...

也许你可以将nslookup用管道传输到文本文件中?

这就足够了......任何想法如何做到这一点?

谢谢

Griff



I have a web page that queries a database returning a recordset containing a
whole series of URLs (host headers).

I want to display these in a table with one of the columns holding the
current I.P. address for each URL. I know how to get a list of these IP
addresses from the cmd prompt using "nslookup" but I''m absolutely clueless
how to get hold of these values in my ASP page.

I''m limited to the fact that this must be only ASP (VBScript, not .NET),
i.e. I can''t call install any components.

Any suggestions most welcome

Thanks

Griff

解决方案

I don''t think you can do this directely then....
BUT.... perhaps you could do the nslookup piped to a text file? Beyond that
you will need an additional component because I dont believe there is any
builtin method for this in asp/vbscript.

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"GriffithsJ" <Gr************@hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...

I have a web page that queries a database returning a recordset containing a whole series of URLs (host headers).

I want to display these in a table with one of the columns holding the
current I.P. address for each URL. I know how to get a list of these IP
addresses from the cmd prompt using "nslookup" but I''m absolutely clueless
how to get hold of these values in my ASP page.

I''m limited to the fact that this must be only ASP (VBScript, not .NET),
i.e. I can''t call install any components.

Any suggestions most welcome

Thanks

Griff



perhaps you could do the nslookup piped to a text file?

That would be sufficient....any ideas how to do that part?

Thanks

Griff


"nslookup www.darkfalz.com > c:\yourFile.txt"

Run this in a command call from vbscript
(http://www.darkfalz.com/1100)
--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"GriffithsJ" <Gr************@hotmail.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...

perhaps you could do the nslookup piped to a text file?

That would be sufficient....any ideas how to do that part?

Thanks

Griff



这篇关于DNS查找...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆