Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
What is the difference between hostname , computername , localhostname
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Gokulkrish" data-source="post: 1633310" data-attributes="member: 322564"><p>Yes , I have one local DNS configured .</p><p></p><p>It is using Mac's ComputerName (i.e) name in the Sharing System preference pane .If it is so , what is the use of hostname & localhostname( sudo scutil --get HostName) ???</p><p></p><p>In my environment , I can ping & ssh a machine using Computer name but not with hostname .</p></blockquote><p></p>
[QUOTE="Gokulkrish, post: 1633310, member: 322564"] Yes , I have one local DNS configured . It is using Mac's ComputerName (i.e) name in the Sharing System preference pane .If it is so , what is the use of hostname & localhostname( sudo scutil --get HostName) ??? In my environment , I can ping & ssh a machine using Computer name but not with hostname . [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
Apple Computing Products:
macOS - Operating System
What is the difference between hostname , computername , localhostname
Top