Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

Rep: Reputation: 15
Help setting up DNS please


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:

Stuck on Primary Nameserver (SOA) section I did try (Don't know if that's right)

2. Add Record

I don't know what to enter for hostname which is then address? What address?

Alias. I'm stuck here.


Domain Name:

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

Old 05-23-2005, 06:43 AM   #2
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..
Old 05-23-2005, 01:20 PM   #3
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 =

Domain Name =


That's all I need to know and Google isn't much use for this. lol
Old 05-23-2005, 03:03 PM   #4
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:

sitename (no .com, net, 3600 IN SOA
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.


Last edited by JimBass; 05-23-2005 at 03:05 PM.
Old 05-23-2005, 09:34 PM   #5
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 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


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

All times are GMT -5. The time now is 06:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration