LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-23-2005, 06:12 AM   #1
MichaelD
LQ Newbie
 
Registered: May 2005
Location: Newcastle upon Tyne, UK
Distribution: Fedora Core 2
Posts: 23

Rep: Reputation: 15
Help setting up DNS please


Hi

I've looked all over the place and still can't understand how to set up DNS on my machine.

I've got a few domain names and want to set up DNS on my machine so that I can use email etc, plus host my sites

I've tried using the BIND utility that comes with Fedora but I get stuck on a few points.

Here are the steps I'm taking so far:

1. New Forward Master Zone > Domain Name: michael-denholm.co.uk

Stuck on Primary Nameserver (SOA) section I did try michael-denholm.co.uk. (Don't know if that's right)

2. Add Record

Host
I don't know what to enter for hostname which is something.michael-denholm.co.uk then address? What address?

Alias. I'm stuck here. something.michael-denholm.co.uk

Nameserver

Domain Name: something.michael-denholm.co.uk

Served by??

If someone could please help me set one up, I'll be able to do the rest easily. I am a quick learner. It's just that there isn't much out there to help with setting it up.

Many thanks

Michael
 
Old 05-23-2005, 07:43 AM   #2
Xolo
Member
 
Registered: Jul 2004
Location: The Netherlands
Distribution: Mandrake, Knoppix, Coyote Linux, RedHat
Posts: 354
Blog Entries: 3

Rep: Reputation: 31
Maybe this will help you along a bit..
http://www.linux.org/docs/ldp/howto/DNS-HOWTO.html
 
Old 05-23-2005, 02:20 PM   #3
MichaelD
LQ Newbie
 
Registered: May 2005
Location: Newcastle upon Tyne, UK
Distribution: Fedora Core 2
Posts: 23

Original Poster
Rep: Reputation: 15
Thank you. I've already been over there a few times and it's as clear as mud to me.

I know the settings they say, but it's what to actually put in that confuses me.

Hostname = something.michael-denholm.co.uk

Domain Name = something.michael-denholm.co.uk

etc

That's all I need to know and Google isn't much use for this. lol
 
Old 05-23-2005, 04:03 PM   #4
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
SOA is the start of authority. A typical SOA line would look something like this:

Code:
sitename (no .com, net, co.uk) 3600 IN SOA  ns1.nameserverofyourchoice.com. root.nameserverofyourchoice.com.
The nameserver is the authoritative server for your domain, and that should agree with whatever you tell your registrar. The last name there (root in my example) is the email address of the contact in charge of the domain. Both the nameserver and the contact address end in periods. The "@" is missing in email contact, that is standard. The "." fills in for the ampersand.

I have never used a GUI to set up DNS, so I can't help with that. I would strongly suggest you get the book DNS and Bind from O'Reilly. Doing DNS is not difficult, but from your post I get the impression that it is new to you. That's fine, but there is much to learn.

Also, you may not realize that setting up DNS on a dynamic IP address is difficult. You should only do DNS if you have static real world IP address. And also, there are mountains of information about all of this on the net. BIND is hyper-documented, and there are numerous example of how to set up a server and the syntax of individual zone files everywhere.

Peace,
JimBass

Last edited by JimBass; 05-23-2005 at 04:05 PM.
 
Old 05-23-2005, 10:34 PM   #5
MichaelD
LQ Newbie
 
Registered: May 2005
Location: Newcastle upon Tyne, UK
Distribution: Fedora Core 2
Posts: 23

Original Poster
Rep: Reputation: 15
I thought as much with the dynamic dns which is why I use dyndns.org for a couple of my domains, but I also want to be able to use my two bought domains on my computer for sending and recieving mail as well as hosting sites for them (that bit is simple as I already run sites on Apache on Windows).

I use Kerio Mailserver in Windows and that's dead easy to use. I just need to add all my domains, users and aliases, then in my email client, set them up for eiother localhost for the paid domains or the actual domains for the dyndns ones.

I don't know if there is something similar for Linux though apart from Kerio. Free or open source is better for me.

Anyone got any suggestions? Thanks
 
  


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
help setting DNS itabarau Linux - Newbie 3 02-04-2005 12:29 PM
Need Help setting up DNS???!!! richhoward Linux - General 13 06-25-2003 05:37 PM
Setting UP DNS Ciccio Linux - Networking 1 12-11-2002 11:23 PM
Help with setting up DNS gomer1701ems Linux - Networking 1 06-02-2001 08:54 AM
setting up DNS deepak Linux - Networking 4 03-31-2001 01:06 AM


All times are GMT -5. The time now is 07:24 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration