为网络上的计算机创建主机名 [英] Create hostname for a computer on the network

查看:309
本文介绍了为网络上的计算机创建主机名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要一个像mycomp.net的主机名,并通过路由器的DNS分配到一个内部 IP地址。



最终结果应该是网络中的人可以使用该主机名连接到内部服务器,而外部人员不能使用

解决方案

如果您使用安装了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屋!

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