【发布时间】:2020-12-16 02:16:21
【问题描述】:
我正在使用设备 dev1(hostname:dev1.example.com), dev2 通过路由器连接在同一网络中,
有来自 ISP 的连接。
When device dev1 got dynamic IP assigned, automatically device hostname and IP should be configured
在 DNS 服务器中,以便 dev2 可以使用主机名 ping dev1。
When i googled for the same, came across DDNS option. When i gone through it is asking to purchase domain and login with the domain credentials in router configuration.
I want to use my own domain without purchasing and enable DDNS support, is it possible to achieve this.
【问题讨论】:
-
需要更多关于您在此处尝试执行的操作的信息。您有内部 DNS 服务器吗?主机名可以通过内部 DNS 或外部(公共 DNS)服务器解析。
-
在网络中,我们希望设备使用主机名进行通信,无论是静态IP还是动态IP。我们可以使用 mDNS 支持解决同样的问题。