将NETBIOS域转换为FQDN(完全限定域名) [英] Translating NETBIOS domain into a FQDN (Fully Qualified Domain Name)

查看:496
本文介绍了将NETBIOS域转换为FQDN(完全限定域名)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

简而言之 - 如何将NETBIOS域转换为FQDN?



详细信息:
假设我在域A中,我有用户凭据对于与域A具有信任关系的域B(我可以验证凭据)。
当我所有的域名都是来自该域的一些身份验证用户的凭据(包括netbios域名)时,如何获取域B的FQDN?



我是C#中的编码,但COM / WMI / Win32解决方案也将受到欢迎。

解决方案

这可能不是最佳的,但是看起来您可以使用NetBIOS名称查询来获取IP地址,然后执行反向DNS查找以从该...获取FQDN ...



http://www.protocolbase.net/protocols/protocol_NBNS.php



(反向DNS步骤很容易查找)


In short - How do I translate a NETBIOS domain to a FQDN ?

Details: Assuming I'm in domain A and I have user credentials for domain B which has a trust relationship with domain A (I can authenticate the credentials). How do I get domain B's FQDN when all I have are the credentials of some authenticated user from that domain, including the netbios domain name?

I'm coding in C# but a COM/WMI/Win32 solution would be welcomed as well.

解决方案

This probably isn't optimal, but it look like you could do a NetBIOS name query to get an IP address, and then do a reverse DNS lookup to get an FQDN from that...

http://www.protocolbase.net/protocols/protocol_NBNS.php

(The reverse DNS step is easy to look up)

这篇关于将NETBIOS域转换为FQDN(完全限定域名)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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