Skip to content

Instantly share code, notes, and snippets.

@scfcode
Last active July 31, 2022 00:44
Show Gist options
  • Select an option

  • Save scfcode/e639b035ca4735e7d3c51734a5a618c3 to your computer and use it in GitHub Desktop.

Select an option

Save scfcode/e639b035ca4735e7d3c51734a5a618c3 to your computer and use it in GitHub Desktop.
macOS .local domain concern

To get rid of the .local in my hostname I had to do

sudo scutil --set HostName mymachine

Before this I got mymachine.local back from hostname

After this I just get mymachine, no .local part

Also go into the network System Preferences and make sure there are no Advanced setting (DNS IIRC) that specify a domain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment