LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-24-2009, 10:47 PM   #1
renuaseri
Member
 
Registered: Mar 2009
Posts: 39

Rep: Reputation: 15
how to create one dns for two network


hi all,
i have four machine network .two machine having 172.18.0.0/24 network and
other two having 10.114.12.0/24.

i want to create one dns for both above network.so i have install bind9 on one machine(whose ip address is 10.114.12.26).
i want to create zones file ,named.conf,named.conf.local and named.conf.option.
i know all steps of creating zones for one single network,but here i am having two network so i am confuse where and what to update so this same dns will work for both network.

i have search on internet but all mostly having creation of dns for single network.

plz help me....
 
Old 11-25-2009, 02:32 AM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by renuaseri View Post
hi all,
i have four machine network .two machine having 172.18.0.0/24 network and
other two having 10.114.12.0/24.

i want to create one dns for both above network.so i have install bind9 on one machine(whose ip address is 10.114.12.26).
i want to create zones file ,named.conf,named.conf.local and named.conf.option.
i know all steps of creating zones for one single network,but here i am having two network so i am confuse where and what to update so this same dns will work for both network.

i have search on internet but all mostly having creation of dns for single network.

plz help me....
just the same as creating dns for one network my friend.
see here i am using 3 networks


Code:
include "/etc/rndc.key";


zone "." {
        type hint;
        file "/var/named/db.cache";
};


zone "domain" {
        type master;
        file "domain.zone";
};

zone "domain.com" {
        type master;
        file "domain.ext";
};


zone "1.1.10.in-addr.arpa" {
        type master;
        file "1.1.10.in-addr.arpa.zone";
};
zone "2.1.10.in-addr.arpa" {
        type master;
        file "2.1.10.in-addr.arpa.zone";
};

zone "100.168.192.in-addr.arpa" {
                type master;
         file "100.168.192.in-addr.arpa.zone";
 
  


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
How to create own DNS service? netjack Linux - Networking 6 08-14-2015 08:23 PM
how to create DNS for two network(10.114.12.0/24 &172.18.0.0/24) renuaseri Linux - Newbie 2 11-16-2009 12:19 AM
How to Create a DNS bikebefast Linux - Server 1 01-02-2008 09:21 AM
How To Create DNS in LINUX saqib389 LinuxQuestions.org Member Intro 2 10-31-2006 03:08 PM
How to create a DNS Server ? G_Slackw Linux - Networking 4 06-28-2004 10:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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