LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-29-2010, 11:33 AM   #1
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,882

Rep: Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988
What TLD to use for local network.


As it looks like the number of DNS Top Level Domains are just going to proliferate in the near future, what's your guys views on a good one to use locally on an RFC 1918 private network in order to prevent a future name collision issue?

.local is the most obvious one but as that was stolen by Apple for mDNS/rendezvous use it's probably wise to avoid it now.

What do you guys use? Is there a defacto standard for this?
 
Old 03-29-2010, 12:30 PM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
AFAIK you can use any names you like on your private LAN, including .local if you so choose.

I just use XXX.home.net

No problems after 10yrs
 
Old 03-29-2010, 12:33 PM   #3
djsmiley2k
Member
 
Registered: Feb 2005
Location: Coventry, UK
Distribution: Home: Gentoo x86/amd64, Debian ppc. Work: Ubuntu, SuSe, CentOS
Posts: 343
Blog Entries: 1

Rep: Reputation: 72
I name mine after myself XXX.Bowers.Net
 
Old 03-29-2010, 02:18 PM   #4
teebones
Member
 
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 502

Rep: Reputation: 56
could be anything really, even if you would use yahoo.com or google.com :P
but.. then you would have a problem, surfing either of them, since they will route to your own machines :P
(dns records and/or wins e.g. hosted locally)

but it's allowed, it can be done.. it your freedom to do so.

But for saveguides...

.local
.lan
.internal
.<fictional tld here>

is the best way to go, if you would not encounter resolving problems of existing domains you may want to visit.

note: i think you want to use your own dns server for resolving rather than a third party one (e.g. isp dns) right?
 
1 members found this post helpful.
Old 04-01-2010, 02:27 PM   #5
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,882

Original Poster
Rep: Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988
I was just curious what people thought best practice was. As far as I can tell, from reading the replies here and other stuff on the subject it looks like there's no one standard that people are adopting (most seem to still be using .local, so I'll just stick with my invented tld and not worry about it until I hit a problem (if I ever do)

Thank you, to those who responded.
 
Old 11-20-2013, 07:40 AM   #6
suk352
LQ Newbie
 
Registered: Nov 2010
Posts: 6

Rep: Reputation: 0
.local is not valid for private lans

All of the above comments are incorrect.

It DOES matter what you call your local domain. .local is a reserved name for mDNS and so should be avoided. You may get a delay in resolving a FQDN with .local in it. Technically it would be invalid for use on a private lan.

Names like .lan or .home are better but the best practice would be to use a genuine registered domain name for both inside and outside your network. Reason being should the domain every become a real internet domain, you would end up in a lot of trouble.
 
Old 01-09-2014, 03:22 AM   #7
cliffordw
Member
 
Registered: Jan 2012
Location: South Africa
Posts: 509

Rep: Reputation: 203Reputation: 203Reputation: 203
I know this is an old thread, but thought I'd add my 2c too....

Looking at RFC6761 (paragraph 6.2), it would seem that .test would be the best choice if you want to avoid the possibility of future conflicts, and don't want to use a registered domain name.

Any thoughts on / experience with this?
 
  


Reply

Tags
dns, private


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to reject addresses by TLD in Postfix? inaki Linux - Server 3 10-26-2008 12:32 PM
block TLD lin_newbie Linux - Server 2 08-10-2008 01:32 AM
DNS zone transfer / get all A records in TLD ahz General 0 06-26-2008 09:30 AM
BIND: local TLD work, but not outside TLDs remi Linux - Networking 4 07-06-2004 07:25 AM
Cannot resolve local addresses on local network danielgrenyer Linux - Networking 6 01-14-2004 11:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration