LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 05-02-2009, 09:50 PM   #1
demia
LQ Newbie
 
Registered: Apr 2009
Posts: 28

Rep: Reputation: 15
I have only one domain, do i need DNS Server?


Hi,

I'm setting up a server to launch a website that is hopefully going to get good amoun of hits.

We only have one domain name on that server.

Could you tell me do i need to setup a DNS Server?

or can i get it done via hosts/resolv etc.


thanks.
 
Old 05-02-2009, 10:05 PM   #2
accend
LQ Newbie
 
Registered: Aug 2005
Location: Mexico
Distribution: RHES 5.2,5.3, CentOS 5.2,5.3
Posts: 7

Rep: Reputation: 0
If you're running a single server and are planning on using only 1 domain you should probably try your domain registrar for outsourced (and free) DNS zone service. A few registrars offer free domain zone resolution on infrastructure that offers high availability.

It is usually a bad idea to run a DNS server (even Bind) on the same server as your website.

If your domain registrar doesn't offer such a service, then you should try the data center that hosts your server. They might be able to offer you such a service.

There's another point you should consider: DNS zone resolution redundancy. Having a single server resolving your domain zone means there is a single point of failure. That is why it's recommended to use at least two different nameservers (i.e. ns1.namerserver.com & ns2.nameserver.com)

==

However, if you want to install a DNS server your best option is Bind.
 
Old 05-03-2009, 02:43 PM   #3
demia
LQ Newbie
 
Registered: Apr 2009
Posts: 28

Original Poster
Rep: Reputation: 15
Hi Accend,

I use omnis.com as my domain registrar and that one domain name that is used on that server is using dom1.omnis.com and dom2.omnis.com.

Through omnis control panel i can add A MX C or any other records. I guess that's I think what you refer as DNS zone control feature. I added a screenshot of omnis control panel to this post.

If I got it right, i don't need BIND, I can use dom1.omnis.com.

so what settings do i have to do on my server? which files do i have to change?

add these to resolv.conf?

domain x.com
search x.com
nameserver dom1.omnis.com

Thanks,
D
Attached Images
File Type: png Picture 6.png (81.1 KB, 3 views)
 
Old 05-04-2009, 02:54 PM   #4
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

1. No, you don't need bind if you've only got one host on your LAN.

2. Yes, you should configure /etc/resolv.conf to point to your ISP's DNS server, "dom1.omnis.com" (personally, I'd recommend using the IP address instead of the name here)

3. Regardless of whether or not you set up BIND (or any local DNS), it's your ISP who is the "authenticating server"; it your ISP who ultimately determines whether anybody finds your domain or not. You have no direct control over that (other than to make sure the OMNIS server has the correct A, MX and PTR records needed to find you).

'Hope that helps .. PSM
 
Old 05-04-2009, 03:03 PM   #5
demia
LQ Newbie
 
Registered: Apr 2009
Posts: 28

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by paulsm4 View Post
Hi -

1. No, you don't need bind if you've only got one host on your LAN.

2. Yes, you should configure /etc/resolv.conf to point to your ISP's DNS server, "dom1.omnis.com" (personally, I'd recommend using the IP address instead of the name here)

3. Regardless of whether or not you set up BIND (or any local DNS), it's your ISP who is the "authenticating server"; it your ISP who ultimately determines whether anybody finds your domain or not. You have no direct control over that (other than to make sure the OMNIS server has the correct A, MX and PTR records needed to find you).

'Hope that helps .. PSM
Thanks Paul, but what exactly should i add to my resolv conf?

currently it has these lines:

domain compute-1.internal
search compute-1.internal
nameserver 172.16.0.23

should i delete those? or append new?
 
Old 05-04-2009, 05:27 PM   #6
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

1. Your ISP has given you one or more name server addresses. Add those.

2. Again, the only thing you're using your ISP's DNS for is so *your* host can find stuff. There's no DNS configuration on *your* side that will let people find you - it's all up to your ISP.

3. Here's a quick link that might give more info:
http://www.cyberciti.biz/tips/linux-...ns-client.html
 
  


Reply


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
dns server not able to resolve local domain names mystika08 Linux - Networking 62 07-01-2009 06:23 AM
First domain registered, need help with setting up DNS server pokey Linux - Networking 4 03-13-2009 11:16 PM
How to add two domain on DNS server (not subdomain) AK007HK Linux - Server 8 07-05-2008 01:29 AM
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup netoknet General 1 05-09-2005 04:43 AM
Psuedo domain and referal in DNS Server vijayind Programming 1 10-17-2004 05:53 AM


All times are GMT -5. The time now is 10:53 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration