setup Reverse lookup to get CName from IP

本小妞迷上赌 提交于 2021-02-19 08:55:06

问题


I have created a CName entry in forward lookup in DNS and then created a PTR in Reverse lookup in DNS but following code always returns aliases blank.

IPHostEntry reverse = Dns.GetHostEntry(txtIPaddress.Text);
            Response.Write(reverse.HostName);

I have read somewhere that if IPv6 is enabled then aliases will be blank. So, i have disabled on both client and server machine using fixit given here: http://support.microsoft.com/kb/929852#fixit4me

but nothing is working any help will be appreciated.

If any other way to get CName using IP ?

来源:https://stackoverflow.com/questions/19547328/setup-reverse-lookup-to-get-cname-from-ip

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!