LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Is is possible to pull down all DNS zone records? (https://www.linuxquestions.org/questions/linux-networking-3/is-is-possible-to-pull-down-all-dns-zone-records-489139/)

rsmccain 10-03-2006 04:35 PM

Is is possible to pull down all DNS zone records?
 
I am setting up a secondary DNS server (Bind 9x on Suse). Is it possible to pull down all forward and reverse zone files at once without having to do them one by one?

Thanks..

musicman_ace 10-03-2006 05:24 PM

I question what you mean by "All DNS Zone records", but newer versions of Bind support 'fast transfer' which means that multiple resource records are tranfered within a single packet. Older Bind versions only supported one record per packet which increases network traffic and takes longer.

rsmccain 10-03-2006 05:32 PM

zone xfer
 
Quote:

Originally Posted by musicman_ace
I question what you mean by "All DNS Zone records", but newer versions of Bind support 'fast transfer' which means that multiple resource records are tranfered within a single packet. Older Bind versions only supported one record per packet which increases network traffic and takes longer.


I am refferring to transferring the zone files for this new slave DNS server.

Thanks,

musicman_ace 10-04-2006 02:55 PM

You'll need two zone configuration files. One for the 'slave' of the forward lookup, and one for the 'slave' of the reverse.

Code:

zone "domain.com" {
type slave;
file "ZoneName.domain.com";
masters { 1.2.4.5; };
};


rsmccain 10-04-2006 02:59 PM

Understood, but..
 
Quote:

Originally Posted by musicman_ace
You'll need two zone configuration files. One for the 'slave' of the forward lookup, and one for the 'slave' of the reverse.

Code:

zone "domain.com" {
type slave;
file "ZoneName.domain.com";
masters { 1.2.4.5; };
};



This DNS server is hosting 4 domains and about 20 reverse records.

So, rather than adding each of these manually to the named.conf, can I somehow tell bind to pull down every forward and reverse zone file off a specific DNS server?

Thanks.


All times are GMT -5. The time now is 05:06 AM.