将NETBIOS域转换为FQDN(完全限定域名)

编程入门 行业动态 更新时间:2024-10-10 13:13:53
本文介绍了将NETBIOS域转换为FQDN(完全限定域名)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 简而言之 - 如何将NETBIOS域转换为FQDN?

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

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

解决方案

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

www.protocolbase/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...

www.protocolbase/protocols/protocol_NBNS.php

(The reverse DNS step is easy to look up)

更多推荐

将NETBIOS域转换为FQDN(完全限定域名)

本文发布于:2023-11-12 10:11:33,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1581193.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:转换为   域名   NETBIOS   FQDN

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!