LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-12-2004, 01:10 AM   #1
rootking
Member
 
Registered: Sep 2002
Distribution: FreeBSD
Posts: 70

Rep: Reputation: 15
Question DNS Windows To Linux Zone Transfer?


I have a Windows domain as clubpeb.org and want to create a secondary zone in Linux. How do I make a slave as the secondary zone in linux and do a zone transfer from the clubpeb.org domain in Windows' DNS to the Linux slave?

thanks
rootking
 
Old 09-12-2004, 03:27 AM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
On the Linux box, you need an entry something like this in your named.conf:
Code:
    zone "clubpeb.com" {
            type slave;
            file "slave/db.clubpeb.com";
            masters { 192.168.1.10; }; // this is the IP of the master DNS server for this zone
            // some security
            allow-transfer { localnets; };  // "localnets" means the subnets that all of the NICs on this machine are attached to
            allow-query { any; };
    };
On the Windows server you need to make sure that you allow AXFR requests from the IP of the Linux box.
 
Old 09-13-2004, 01:29 AM   #3
rootking
Member
 
Registered: Sep 2002
Distribution: FreeBSD
Posts: 70

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by chort
On the Linux box, you need an entry something like this in your named.conf:
Code:
    zone "clubpeb.com" {
            type slave;
            file "slave/db.clubpeb.com";
            masters { 192.168.1.10; }; // this is the IP of the master DNS server for this zone
            // some security
            allow-transfer { localnets; };  // "localnets" means the subnets that all of the NICs on this machine are attached to
            allow-query { any; };
    };
On the Windows server you need to make sure that you allow AXFR requests from the IP of the Linux box.

thanks a lot I got it to work!!
 
  


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 secondary zone transfer problems jc materi Linux - Networking 5 04-04-2007 12:19 PM
Setting up DNS on Sues using windows zone files mturner Linux - Networking 2 06-10-2005 09:54 AM
Public DNS Server - Zone Transfer - granitecanyon.com j33px0r Linux - Networking 2 04-14-2004 09:26 AM
Bind 9 - zone transfer using internal IP ? michael_util Slackware 1 03-25-2004 11:15 AM
DNS - Manual zone transfer roboli Linux - Networking 0 02-27-2002 08:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:56 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
Open Source Consulting | Domain Registration