|
|
10.5: How to use ssh using 'Back to My Mac'
Just a note that the usage of a trailing period (.) is not required, but it can indeed speed up connection times if you're behind a very slow connection or have an unreliable DNS source.
What it does is tell the DNS resolver software on your computer that you do not want to search the DNS domain you're in for the hostname you've provided (more correctly, you're giving an explicit DNS name). If you don't use a period, the resolver will try all of the domains associated with your current network connection first, before asking the wider internet (you can find these domains in /etc/resolv.conf on your Mac - this file is updated automatically each time you connect to a network, usually by DHCP). This is basically the reason why using a 'short name' on your own network will succeed (ignoring Bonjour/mDNS in this example, that's different), as the resolver will append your domain onto the short name and try that. For example, if your domain is 'some.domain.com', and you enter 'http://www/' into Safari, the resolver will try www.some.domain.com to try to find the IP address to talk to. In the hint example, it means that the resolver will only try 'hostname.username.members.mac.com', and not 'hostname.username.members.mac.com.some.domain.com' first. (So, believe it or not, your resolver will try 'www.macosxhints.com.some.domain.com' first when you visit this site.. You can try 'www.macosxhints.com.' - with the trailing period - and you will see that that works too) Sorry for all those that already know this.. but if someone else learns something that's cool :) </ramble>
10.5: How to use ssh using 'Back to My Mac'
That was a cool little tangent hint. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|