为网络上的计算机创建主机名 [英] Create hostname for a computer on the network
问题描述
最终结果应该是网络中的人可以使用该主机名连接到内部服务器,而外部人员不能使用
如果您使用安装了DD-WRT的路由器,可以使用服务选项卡中的DHCP服务器选项根据MAC地址设置主机名。结合LAN域选项,这允许您通过my_computer.my_domain.local访问计算机
如果您没有使用安装了DD-WRT的路由器,你应该尝试一下。
I would like a hostname like mycomp.net and be assigned through DNS of the router to go to an internal ip address.
The end result should be people within the network can use that hostname to connect to the internal server, and outsiders cannont
If you're using a router with DD-WRT installed, you can use the DHCP Server options in the Services tab to set hostnames based on MAC addresses. Combined with the "LAN Domain" option, this allows you to access machines via my_computer.my_domain.local
If you're not using a router with DD-WRT installed, you should try it out.
这篇关于为网络上的计算机创建主机名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!