LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 04-09-2015, 10:54 AM   #1
willc86
Member
 
Registered: Dec 2014
Posts: 56

Rep: Reputation: Disabled
adding a purchased domain to your network?


Hey guys, this might be a really dumb, or a really good question.
I have a question about domain names and networks
lets take a school for example. I dont know, lets say FIU.

obviously, they purchased a business domain so when you go to fiu.edu, its a webserver. you go to cs.fiu.edu its another web server

so how does it get multiple host names pointed to the fiu.edu name

lets say they have 20 servers. some windows some linux. so outside of their network, you can rdesktop or ssh to certain machines. (if you are on their AD server and know the credentials)

adserver.fiu.edu
apple.fiu.edu
pear.fiu.edu
orange.fiu.edu


my question is, if i purchase a domain, lets say www.chaps.pw
how do I point all of my hosts to chaps.pw so example, I can
ssh or rdesktop into (btw I have a /30 network) so all ips are public. ( i also know security is a big issue but its just for knowledge purposes )

venus.chaps.pw
skyline.chaps.pw
pluto.chaps.pw

etc...

if you take a look at fiu, im sure they dont have a records on the hosted site pointed to every host. So i will need a DNS server, DHCP server

what other steps?

Last edited by willc86; 04-09-2015 at 10:56 AM.
 
Old 04-09-2015, 11:13 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,476

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by willc86 View Post
my question is, if i purchase a domain, lets say www.chaps.pw
That's not a domain, that a host within chaps.pw domain. Important difference (see below)


Quote:
Originally Posted by willc86 View Post
how do I point all of my hosts to chaps.pw so example, I can
ssh or rdesktop into (btw I have a /30 network) so all ips are public. ( i also know security is a big issue but its just for knowledge purposes )

venus.chaps.pw
skyline.chaps.pw
pluto.chaps.pw

etc...
In your DNS service create A records for each host and point it the appropriate IP address.

In "Classic" BIND this would look like:

Code:
venus.chaps.pw.      IN A    123.123.111.240
skyline.chaps.pw.    IN A    123.123.111.241
pluto.chaps.pw.      IN A    123.123.111.243
Yes, the chaps.pw. is correct, the trailing . says to NOT append the default domain, so you can leave it off and use:
Code:
venus      IN A    123.123.111.240
skyline    IN A    123.123.111.241
pluto      IN A    123.123.111.243

Last edited by TenTenths; 04-09-2015 at 11:16 AM.
 
Old 05-11-2015, 01:16 PM   #3
willc86
Member
 
Registered: Dec 2014
Posts: 56

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TenTenths View Post
That's not a domain, that a host within chaps.pw domain. Important difference (see below)




In your DNS service create A records for each host and point it the appropriate IP address.

In "Classic" BIND this would look like:

Code:
venus.chaps.pw.      IN A    123.123.111.240
skyline.chaps.pw.    IN A    123.123.111.241
pluto.chaps.pw.      IN A    123.123.111.243
Yes, the chaps.pw. is correct, the trailing . says to NOT append the default domain, so you can leave it off and use:
Code:
venus      IN A    123.123.111.240
skyline    IN A    123.123.111.241
pluto      IN A    123.123.111.243

awesome!! i am actually reading about DNS

so before I begin, I will need to install BIND correct? And will be located in the /etc/bind/named.conf? that is where I store the A records
 
Old 05-14-2015, 01:56 AM   #4
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,476

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by willc86 View Post
awesome!! i am actually reading about DNS

so before I begin, I will need to install BIND correct? And will be located in the /etc/bind/named.conf? that is where I store the A records
BIND would be the most common DNS server package and there are TONS of tutorials around. As for where the zone files live that can be distro dependant so pick a how-to that's relevant to your server distro.


Have to admit I stopped running my own DNS servers a few years back and now make use of commercial offerings for work and for my personal projects.
 
  


Reply



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
setting up centos as a webserver with a domain name purchased cathycp27 Linux - Newbie 6 07-28-2011 09:16 PM
Adding New MX record in a domain mosharaf_linux Linux - Server 1 11-26-2010 05:03 AM
my purchased domain name used by seller rblampain Linux - General 3 01-02-2006 12:33 AM
Creating nameserver to resolve purchased domain to my computer techrolla Linux - Networking 11 07-30-2004 02:49 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 09:26 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