File: virtual_cluster_bind_views.txt

package info (click to toggle)
oar 2.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 9,700 kB
  • sloc: perl: 34,517; sh: 6,041; ruby: 5,840; sql: 3,390; cpp: 2,277; makefile: 402; php: 365; ansic: 335; python: 275; exp: 23
file content (54 lines) | stat: -rw-r--r-- 1,068 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Bind configuration for OAR virtual cluster
###

# Bind config sample
view "subnet-1" {
	match-clients { 10.1.1.0/24; };
	zone "oar.vpn" {
		type master;
		file "db.oar.vpn.subnet-1";
	}
}
view "subnet-2" {
	match-clients { 10.1.2.0/24; };
	zone "oar.vpn" {
		type master;
		file "db.oar.vpn.subnet-2";
	}
}
view "subnet-3" {
	match-clients { 10.1.3.0/24; };
	zone "oar.vpn" {
		type master;
		file "db.oar.vpn.subnet-3";
	}
}

# Zone sample: db.oar.vpn.subnet-1
$ORIGIN .
oar.vpn		IN SOA ...
$ORIGIN oar.vpn
vnode-1-1	A	195.220.82.8
vnode-1-2	A	195.220.82.9
vnode-1-3	A	195.220.82.10
vnode-2-1	A	10.1.2.1
vnode-2-2	A	10.1.2.2
vnode-2-3	A	10.1.2.3
vnode-3-1       A       10.1.3.1
vnode-3-2       A       10.1.3.2
vnode-3-3       A       10.1.3.3

# Zone sample: db.oar.vpn.subnet-2
$ORIGIN .
oar.vpn		IN SOA ...
$ORIGIN oar.vpn
vnode-1-1	A	10.1.1.1
vnode-1-2	A	10.1.1.2
vnode-1-3	A	10.1.1.3
vnode-2-1	A	129.89.30.23
vnode-2-2	A	129.89.30.24
vnode-2-3	A	129.89.30.25
vnode-3-1       A       10.1.3.1
vnode-3-2       A       10.1.3.2
vnode-3-3       A       10.1.3.3