LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-04-2006, 10:12 PM   #1
matsko
Member
 
Registered: Dec 2005
Posts: 51

Rep: Reputation: Disabled
Best Way to do DNS


I am at the situation where CPanel is really becoming a serious performance drainer. The benefit thou, is that CPanel came with everything pre-installed. So I really didn't need to know to much linux or apache to setup my server.

However I have decided to format and reinstall the system customly. I know how to install Apache,PHP,and MySQL, and for that matter getting up the webserver to run through http using IP. (http://12.34.56.78/)

It all works fine, however I still need to setup the DNS to work on the server. Nameservers are the question here. I really dont know too much about them, so I have a few questions...

1) is it possible to setup a webserver (like I just explained) which has only ONE domain without having to install a DNS resolver onto your system?

2) I really dont want to have anyone else in control of my DNS resolution, so therefore I would most likely need to install a program onto my machine which does the job. So how is this done?
 
Old 02-05-2006, 04:19 AM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Quote:
1) is it possible to setup a webserver (like I just explained) which has only ONE domain without having to install a DNS resolver onto your system?
Only if you let your domain registrar handle it.

Quote:
2) I really dont want to have anyone else in control of my DNS resolution, so therefore I would most likely need to install a program onto my machine which does the job. So how is this done?
Well, I have found that you should really just let your domain registrar handle this. They will have redundant servers in a fail-safe configuration.

If you really insist on doing this yourself (it is not a trivial task, even for those who are experienced) then bind is the program you are looking for. And to tell the truth I have only ever set it up as a caching nameserver for my LAN, never as a primary name server for my domain. It's really just too much of a bother, and is to prone to failure.

Last edited by bulliver; 02-05-2006 at 04:21 AM.
 
Old 02-05-2006, 05:43 AM   #3
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Setting up BIND isn't that bad. My philosophy is, set it up so that you understand how DNS works.

-twantrd
 
Old 02-05-2006, 05:52 AM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Quote:
Setting up BIND isn't that bad. My philosophy is, set it up so that you understand how DNS works.
Maybe so, but can you assure your server is up and available 24/7/365?
What do you do during a network/hardware failure?
Is there a backup system for when you must upgrade?
Do you have astatic IP?

All questions that must be considered.
 
Old 02-05-2006, 08:26 AM   #5
matsko
Member
 
Registered: Dec 2005
Posts: 51

Original Poster
Rep: Reputation: Disabled
well all of pretty much my domains are controlled with godaddy. I have never seen the option that allows them to handle the DNS resolving.

Do I have to contact them and ask, or is there something that I am missing...?
 
Old 02-05-2006, 02:53 PM   #6
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Bulliver, good point.

Matsko, you could setup an internal DNS server or some kind of test environment so that you will know how DNS works and later have the proper skills in setting one up for your domain.

-twantrd

Last edited by twantrd; 02-05-2006 at 02:58 PM.
 
Old 02-05-2006, 04:37 PM   #7
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Quote:
Do I have to contact them and ask, or is there something that I am missing...?
Well, I am not familiar with godaddy, but my domain registrar will provide their nameservers free of charge to point your domain to the IP of my choosing, which in my case is my home IP address (which I pay extra to have as static).

Quote:
Matsko, you could setup an internal DNS server or some kind of test environment so that you will know how DNS works and later have the proper skills in setting one up for your domain.
Exactly, and this is what I do, just set up bind to be a caching nameserver for your LAN. It will make your internet surfing that much faster, and teach you the basics of DNS/Bind. The primary domain server just seems too important to be futzing around with on your home computer for my tastes.
 
  


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
Suse DNS vs free DNS server for Newbie maxsanders Linux - Newbie 1 01-31-2006 04:57 PM
How to configure DNS for a local LAN (at least I think I want DNS) FlyingPenguin128 Linux - Networking 8 12-11-2005 04:15 PM
Do I leave primary and seconday DNS blank for a DNS Server? imsam Linux - Networking 3 10-25-2004 01:48 PM
lame dns servers etc and general dns issues suse_linux9.1 Linux - Networking 3 06-01-2004 01:50 PM
need help to set up caching only dns server to with bogus DNS entries ullas Linux - Networking 1 10-28-2003 01:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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