Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-29-2010, 12:33 PM   #1
Senior Member
Registered: May 2008
Posts: 3,818

Rep: Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236
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, 01:30 PM   #2
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,080

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

I just use

No problems after 10yrs
Old 03-29-2010, 01:33 PM   #3
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, 03:18 PM   #4
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 501

Rep: Reputation: 56
could be anything really, even if you would use or :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...

.<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, 03:27 PM   #5
Senior Member
Registered: May 2008
Posts: 3,818

Original Poster
Rep: Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236
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, 08:40 AM   #6
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, 04:22 AM   #7
Registered: Jan 2012
Location: South Africa
Posts: 333

Rep: Reputation: 131Reputation: 131
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?


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 01:32 PM
block TLD lin_newbie Linux - Server 2 08-10-2008 02:32 AM
DNS zone transfer / get all A records in TLD ahz General 0 06-26-2008 10:30 AM
BIND: local TLD work, but not outside TLDs remi Linux - Networking 4 07-06-2004 08:25 AM
Cannot resolve local addresses on local network danielgrenyer Linux - Networking 6 01-14-2004 12:03 PM

All times are GMT -5. The time now is 01:02 AM.

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