Re: Dot Local Domains

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Ryan Petris via PLUG-discuss
Date:  
To: plug-discuss
CC: Ryan Petris
Subject: Re: Dot Local Domains
Oh, one more thing I wanted to mention, using an "unused" TLD, like `.lan` or as Steve suggested `.cxm`, you'll get some odd behaviors. For instance, if you type in "mydomain.com", browsers assume it's a URL since it's a valid domain name, at least syntactically. If you however type in "mydomain.lan", at least some browsers, like Firefox, won't see ".lan" as a valid TLD which means it doesn't see "mydomain.lan" as a valid domain, and therefore it will do a search instead. You can get around this by putting the appropriate http:// or https:// before the domain to force it to treat it as a domain, but it's kind of annoying.

I get around this by bookmarking everything I run at home so I don't have to use the domains directly, but it's still a bit annoying. Thus, using a subdomain off a real domain that you own would be better in this regard.

On Sat, Oct 29, 2022, at 9:43 AM, Ryan Petris via PLUG-discuss wrote:
> .local is generally reserved for Avahi/Bonjour. The simplest case is say your computer name is "mypc", then on another machine on the same network, you can access that pc via "mypc.local", assuming you have public services running on it.
>
> If you're just wanting a domain to use within your local network, I would refrain from using .local so that it doesn't conflict with this. I personally use ".lan" for stuff local to my network, but that's also not best practice.
>
> Ideally, you'd own a real domain, for instance "mydomain.com", then use something like "*.lan.mydomain.com" for local network stuff. You can still use a local bind so nothing is public but you can guarantee that you won't conflict with anything else that way.
>
> On Sat, Oct 29, 2022, at 8:07 AM, Keith Smith via PLUG-discuss wrote:
>>
>>
>> Hi,
>>
>> For some reason .local popped into my head this morning. From what I
>> read it appears I may be able to create an Intranet that has a private
>> domain name such as MyBusiness.local, on a private IP, and I am thinking
>> I can run BIND and make a zone file for this Intranet. In this case, if
>> I am in he local net I can bring it up with MyBusiness.local?? If so
>> then I should be able to add subdomains to the local BIND/zone... So
>> will this private network work like the public Internet?
>>
>> This makes me believe I can create a mail server on this private net for
>> the users of this private net. Not that I want to, however it is
>> interesting.
>>
>> I read that MAC is doing something with the .local domain so it was
>> recommended to use:
>>
>> .test
>> .example
>> .invalid
>> .localhost
>>
>> Would it be possible to create a private network using one of these
>> private TLDs and can I use BIND to control this?
>>
>> How will my browser know to go to my private domain if I use one of
>> these private domains - I seem to recall needing to put this in the
>> hosts file on Linux and Windows so it would resolve. Would BIND
>> override this?
>>
>> Thanks!!
>> Keith
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list:
>> To subscribe, unsubscribe, or to change your mail settings:
>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>
> ---------------------------------------------------
> PLUG-discuss mailing list:
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>

---------------------------------------------------
PLUG-discuss mailing list:
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss