How to find IpAddress of system(server) in local network?

点点圈 提交于 2020-08-08 05:13:08

问题


I want to find IP address of my local server (system) which is run on debian-os in local network. I am able to find all IP Addresses in local network, But that is so time consuming method. I want to find particular IP of my debian-sytem who has server running on it. This Debian-system connected to my local network through dynamic IP. I want to connect that server through device. But before connecting to server I have to find particular IP address of system in local network. How I can find IP address of particular server without getting all IP address in network?


回答1:


You will have to setup a DNS-Server (either on the debian system itself, or on any other system, you might already have one too). Add a host entry (A-Record) for your debian system and provide the correct IP to the server. On your clients you will have to configure the DNS-Server too. They may then refer to the debian system by DNS-Name.

Alternatively, if you are writing the client software too, you may use mDNS to provide a "serverless" way of discovery, mDNS allows you to look for servers responding to a "DNS-Name" that you search for without an actual DNS-Server, this technique is often used by networked printers and multimedia devices. Chromecast uses a variation of mDNS too, to discover if a Chromecast device is present on the local network.



来源:https://stackoverflow.com/questions/37652284/how-to-find-ipaddress-of-systemserver-in-local-network

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