Re: transfer master Windows DNS to slave BIND DNS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/12/05, M E Fieu <sibu168@xxxxxxxxx> wrote:
> Hi..I want to configure a slave BIND DNS to automatically get the master zone abc.com update from
> a windows DNS server (172.16.1.42).  Below is the my /etc/named.conf file.
> 
> more /etc/named.conf
> zone "abc.com" in {
> type slave;
> file "db.abc";
> masters { 172.16.1.42; };
> allow-transfer { any; };
> allow-query { any;};
> notify yes;
> };
> 
> Is that correct? Can BIND get the update from Windows DNS?
> 
> I have question on the zone file db.abc, since this is a slave DNS zone, do I have to create this
> file by myself or it will auto copy the info from the windows DNS master?  Then where this file
> supposed to be if I need to creat it or auto-created during transfer?
> 
> How do I verify the master zone record being transfered to here?
> 


Hey ,

 I am running the Primary DNS server on Windows 2003 AD integrated and
the slave DNS server is running on FC3.Below is my named.conf file

options {
	directory "/var/named";
	dump-file "/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
	
};

// 
// a caching only nameserver config
// 
controls {
	inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};

zone "." IN {
	type hint;
	file "named.ca";
};

zone "localdomain" IN {
	type master;
	file "localdomain.zone";
	allow-update { none; };
};

zone "localhost" IN {
	type master;
	file "localhost.zone";
	allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
	type master;
	file "named.local";
	allow-update { none; };
};

zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa"
IN {
        type master;
	file "named.ip6.local";
	allow-update { none; };
};

zone "255.in-addr.arpa" IN {
	type master;
	file "named.broadcast";
	allow-update { none; };
};

zone "0.in-addr.arpa" IN {
	type master;
	file "named.zero";
	allow-update { none; };
};

zone "sunupdelhi.net" IN {
      type slave;
      masters { 192.168.1.100; };
      file "slaves/sunupdelhi.net";
};

zone "1.168.192.in-addr.arpa" IN {
      type slave;
      masters { 192.168.1.100; };
      file "slaves/192.168.1.zone";
};


include "/etc/rndc.key";


The Bind is chrooted on FC3.So the data(192.168.1.zone ) file  should
be under chroot directory in /var/named.

On Windows 2003 you have to set the zone transfers to the Bind Dns
otherwise you won't be able to receive the updates.I am running the
Primary DNS with secure option.

Regards

Ankush Grover


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux