Take the internal DNS servers NS00 thru NS02 (below DNS internal roots).
Their named.zones included by /etc/named.conf could be as follows:
zone "business.corp" {
type master;
file "master/db.business.corp";
};
zone "10.in-addr.arpa" {
type master;
file "master/db.10";
};
zone "168.192.in-addr.arpa" {
type master;
file "master/db.192.168";
};
NOTE
Of course, it's not recommended to have a multi-master setup.The contents of each of the above zone data file in master is as follows:
This means, just as example, that only NS00 should be master.
Hence, it suffices to substitute master for slave for NS01 and NS02.
I) business.corp
;
; Business Corp.
;
; Internal DNS (top-level) server forward zone.
; last update: August 5, 2014.
;
$TTL 3h
@ IN SOA NS00.business.corp. hostmaster.business.corp. (
1 ; Serial
3h ; Refresh after 3 hours
1h ; Retry after 1 hour
1w ; Expire after 1 week
1h ) ; Negative caching TTL of 1 hour
; Authoritative name servers.
IN NS NS00.business.corp.
IN NS NS01.business.corp.
IN NS NS02.business.corp.
; The internal root servers A records.
A IN A 10.0.0.10
B IN A 10.0.0.20
C IN A 10.0.0.30
D IN A 10.0.0.40
; The internal top-level servers A records.
NS00 IN A 10.0.1.10
NS01 IN A 10.0.1.20
NS02 IN A 10.0.1.30
; Other internal hosts A records.
; ...
; End of File.
II) 10.in-addr.arpa
;
; Business Corp.
;
; Internal DNS (top-level) server reverse zone.
; last update: August 5, 2014.
;
$TTL 3h
@ IN SOA NS00.business.corp. hostmaster.business.corp. (
1 ; Serial
3h ; Refresh after 3 hours
1h ; Retry after 1 hour
1w ; Expire after 1 week
1h ) ; Negative caching TTL of 1 hour
; Authoritative name servers.
IN NS NS00.business.corp.
IN NS NS01.business.corp.
IN NS NS02.business.corp.
; The internal root servers PTR records.
10.0.0 IN PTR A.business.corp.
20.0.0 IN PTR B.business.corp.
30.0.0 IN PTR C.business.corp.
40.0.0 IN PTR D.business.corp.
; The internal top-level servers PTR records.
10.1.0 IN PTR NS00.business.corp.
20.1.0 IN PTR NS01.business.corp.
30.1.0 IN PTR NS02.business.corp.
; Other internal hosts PTR records.
; ...
; End of File.
III) 168.192.in-addr.arpa
;
; Business Corp.
;
; Internal DNS (top-level) server reverse zone.
; last update: August 5, 2014.
;
$TTL 3h
@ IN SOA NS00.business.corp. hostmaster.business.corp. (
1 ; Serial
3h ; Refresh after 3 hours
1h ; Retry after 1 hour
1w ; Expire after 1 week
1h ) ; Negative caching TTL of 1 hour
; Authoritative name servers.
IN NS NS00.business.corp.
IN NS NS01.business.corp.
IN NS NS02.business.corp.
; Other internal hosts PTR records.
; ...
; End of File.