Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 384  / 1 Year ago, fri, november 25, 2022, 12:52:24

My local network name is usually myhostname.local, but sometimes other people on the network can't access me at that address and I have to give them my network IP address (which changes).



How can I confirm my name on the network I am currently logged in to?


More From » networking

 Answers
6

All this mDNS/Ahavi stuff is very platform dependent. Your computer will advertise its hostname but it's the other computers that set its DNS name on themselves.




  • Avahi sticks .local on the end,

  • Bonjour (the Apple implementation) doesn't bother with the .local, and

  • NetBIOS isn't really mDNS but it's how Windows and Samba spreads its name. Again, no .local



If you're sitting in a network of a single, controlled platform, the answer is fairly simple... If you aren't, it's not.



If this is a common issue, and it's a network you control, it might be worth setting real DNS for your computers through a centralised DNS server and having that add DHCP leases to that. pdnsd is something I've looked at before but there are others.



Note: If the router isn't industrial, you'll need to check you can set the DNS server to an internal IP. I had issues with that very issue on a Netgear router and never managed to work around it.



Failing that, external services (Dyndns et al) could let you set local, illegal IPs to real domain names. Eg you could be resolved through d3vid-internal.d3vidsdomain.etx.


[#26595] Sunday, November 27, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
theurn

Total Points: 30
Total Questions: 110
Total Answers: 111

Location: Bahrain
Member since Fri, Sep 16, 2022
2 Years ago
theurn questions
Tue, Apr 5, 22, 14:18, 2 Years ago
Mon, Feb 14, 22, 16:29, 2 Years ago
Sat, Apr 8, 23, 05:26, 1 Year ago
Tue, Jan 10, 23, 23:59, 1 Year ago
Fri, Apr 8, 22, 01:36, 2 Years ago
;