Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Proposal] Use .localhost for TLD in local development #35

Open
yordis opened this issue Mar 20, 2023 · 1 comment
Open

[Proposal] Use .localhost for TLD in local development #35

yordis opened this issue Mar 20, 2023 · 1 comment
Labels
State: Draft The ADR is being discussed. Type: ADR It is something related to ADRs.

Comments

@yordis
Copy link
Member

yordis commented Mar 20, 2023

Use .localhost for TLD in local developmen

  • State: Draft
  • Created:
  • Tags:

Context

Bikeshedding about TLD for local development

Resolution

  • You MUST use .localhost for local development DNS resolution

Links

@yordis yordis added State: Draft The ADR is being discussed. Type: ADR It is something related to ADRs. labels Mar 20, 2023
@yordis
Copy link
Member Author

yordis commented Jun 6, 2024

From https://www.reddit.com/r/homelab/comments/vlmzc0/comment/idwa8ct/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

Best practice is to get a registered domain and then use a subdomain for AD. You can get some very cheap domain names for something like $8 a year.

The AD domain should then look like:

ad.domain.com or internal.domain.com

Using .local has been discouraged since Server 2003 (with the exception of Small Business Server).

Having a registered domain name guarantees unique names.

.local can interfere with apple services like Bonjour which uses .local on a local subnet without DNS lookup.

I also have read that it can interfere with autodiscovery in AD.

Sure, you can probably get by using .local... But if you want to do it right, .local is a bad idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
State: Draft The ADR is being discussed. Type: ADR It is something related to ADRs.
Projects
None yet
Development

No branches or pull requests

1 participant