LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Thread Tools
Old 11-07-2009, 05:37 PM   #1
Predatorian
Member
 
Registered: Mar 2008
Location: currently, where ever the army takes me
Distribution: Debian Lenny/Ubuntu or Arch Linux
Posts: 71
Thanked: 0
Domains, DNS server, and a few questions


[Log in to get rid of this advertisement]
howdy LQ'ers,

ive been wondering on how to set up a DNS server with a local domain, and how would i go about doing that? and then, even then, if i had a local domain, would i still need to register the domain name, and in order to have a domain name, do i need to pay for it if i have my own DNS servers? Or am i just going about this all wrong? just looking for a clear answer. thanks anyone.
macos Predatorian is offline     Reply With Quote
Old 11-07-2009, 07:27 PM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Sligo, Ireland
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,055
Blog Entries: 1
Thanked: 41
Can't answer the local domain question very well, but it is possible, I have seen it done with SME server. Here is an example howto: http://chaos-laboratory.com/2006/12/...your-intranet/

In order to 'own' a particular domain, other than local, you must buy the domain, and then you can point your own nameservers at it.
linuxubuntu irishbitte is offline     Reply With Quote
Old 11-07-2009, 11:29 PM   #3
jstephens84
Senior Member
 
Registered: Sep 2004
Distribution: Lab Server - FreeBSD 7.2 Laptop - Linux Mint
Posts: 1,861
Thanked: 35
Yes you can have an internal domain and external domain. Most companies do the following.

internal = mydomain.local or mydomain.int or mydomain.root

external = mydomain.com.

your dns server can also host the external and internal domains. However hosting your external domain means that you need two dns servers with different static IPs and pretty much need to be secured.

to setup DNS use the service bind.

If you are just wanting a local domain that won't be used on the internet then you don't need to register it.
linuxmint jstephens84 is offline     Reply With Quote
Old 11-08-2009, 05:28 AM   #4
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 1,885
Thanked: 88
Quote:
Originally Posted by Predatorian View Post
...even then, if i had a local domain, would i still need to register the domain name...
If, by a local domain, you mean a namespace in which those names are only visible to machines on your internal network, then you don't have to do anything with registrars, etc and if you don't have to have anything to do with registrars/hosting/... there is nothing that you have to pay for.

Quote:
and in order to have a domain name, do i need to pay for it if
you have to get it registered externally for it to be visible on the wider internet and you have to pay for that

Quote:
...(if) i have my own DNS servers?
To be visible on the wider internet an external service needs to be pointing at your DNS servers, so having your own DNS servers does not make any difference (to this part of the problem). You still need the services of someone else, and until they start giving that service away for free (and sometimes its available 'bundled' with something else, so maybe it has 'no additional cost' even though that's not the same as free) you would have to pay for it.
linux salasi is offline     Reply With Quote
Old 11-08-2009, 10:34 AM   #5
Predatorian
Member
 
Registered: Mar 2008
Location: currently, where ever the army takes me
Distribution: Debian Lenny/Ubuntu or Arch Linux
Posts: 71
Thanked: 0

Original Poster
Thank you everyone, these are very helpful answers. just what i was looking for too. thank you.
macos Predatorian is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Multiple domains in LDAP and 1 samba server for all domains, what to do? xnomad Linux - Server 1 11-14-2008 10:12 AM
DNS Server Questions qckdrw777 Linux - Server 1 09-26-2007 02:36 AM
DNS Server for 2 domains - Bind9 bence8810 Linux - Server 17 12-19-2006 02:58 AM
DNS server questions link1305 Linux - Networking 7 06-01-2004 02:48 AM
HELP! Caching DNS server wont resolve .EDU domains? spadesmaster Linux - Networking 0 04-30-2002 11:25 AM


All times are GMT -5. The time now is 12:19 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration