Welcome to the most active Linux Forum on the web.
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 07-13-2005, 10:17 PM   #1
LQ Newbie
Registered: Jul 2005
Posts: 3

Rep: Reputation: 0
how to make own DN1 and DN2

Hi guys!
using Fedora4, and I'm new in linux world , it seems I want to do an advanced(for me )configuration
I want to have and dn2.... how can I make it?
If u can please guide me or show me some article, e-book, note and etc to geting start it
if u have some stuff related to my quastion please send it to

thanks in advance
Old 07-14-2005, 03:14 PM   #2
Senior Member
Registered: Oct 2004
Posts: 1,192

Rep: Reputation: 101Reputation: 101
Do you mean you want to set up a pair of DNS servers?

Well first of all if you have not registered and paid for the domain "" then you need to do that, then your domain registrar will have a page that will allow you to register name servers for your domain, you will need the two machines with 2 separate IPs, ideally the machines want to be in different locations physically and then you can register and as nameservers pointing to your two machines. Then you will need to set up DNS servers on your machines, the most commonly used software for this is BIND, there wil be a few how-tos about, search google for them.

It is easier and, unless you have dedicated servers at a data centre, more reliable to use your domain registrar's DNS servers and just set up A records, CNAME records, MX records as you need using their web interface
Old 07-14-2005, 03:25 PM   #3
Registered: Jul 2003
Location: Cairo, Egypt
Distribution: CentOS, RHEL, Debian, FreeBSD
Posts: 94

Rep: Reputation: 38
First of all you have to delegate a zone in domain to point to ur DNS server, then make sure that the bind, bind-utils, caching-nameserver are installed.

Second, Configuring ur domain as a slave name server
1. # vi /etc/named.conf
zone "" {
     type slave;
     masters { (HERE GOES THE IP OF; };
     file "";
2. service named restart
3. chkconfig named on

Third, Configuring ur domain as a master name server
1. # vi /etc/named.conf
zone "" {
     type master;
     file "";
2. Prepare database file

# vi /var/named/
$TTL (what ever time to live you want)
@   IN   SOA ( 2005071423; 28800; 14400; 3600000; 0 );
@   IN    NS
3. Restart named

service named restart

This is a very basic configuration for a DNS server, Hope it works
Old 07-15-2005, 07:04 AM   #4
LQ Newbie
Registered: Jul 2005
Posts: 3

Original Poster
Rep: Reputation: 0
thanks guys!
Now I know what I have to do,,,
and I'll tell u results
thanks again
Old 07-15-2005, 07:40 AM   #5
LQ Newbie
Registered: Jul 2005
Posts: 3

Original Poster
Rep: Reputation: 0
barghota should I just past them in named.conf or replace them with


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
package compiling from source, make & make install concepts shujja Linux - Newbie 2 09-20-2005 12:18 AM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 03:01 AM
I accidentally deleted make file in /usr/local/bin, now cannot use make command.... Niceman2005 Linux - Software 2 11-17-2004 07:55 PM
How to make rule for make install and make uninstall melinda_sayang Programming 1 06-14-2004 05:58 AM
make dep,make clean,make bzImage problem Babba Linux - Newbie 2 01-08-2003 03:49 AM > Forums > Linux Forums > Linux - Newbie

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