-
Notifications
You must be signed in to change notification settings - Fork 8
/
grab_config
49 lines (43 loc) · 1.63 KB
/
grab_config
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
# TAGS
# grab_config v10.4
# https://github.com/ngadmini
# AUTHOR
# ngadimin@warnet-ersa.net
# PLEASE PAY ATTENTIONS
# *) type in format VARIABLE=value
# *) blank lines and leading '#' will be ignored
# *) all variables must be determined. if NOT it will fallback to their default
# values
# THEN
# *) change all variables in grab_library refer to this file. go to line:
# ~ nano +$(grep -n 'f_dft()' grab_library | cut -d: -f1) grab_library
##################################################################################
# specify in fqdn or ip-address
HOST=rpz.warnet-ersa.net
# fixed number of lines grab_regex. DON'T CHANGE
REGEX=4
# bind9-server need reload rndc (Remote Name Daemon Control)
# after syncronizing new dataBASE. but some server with low_RAM
# will out off memory. in this case you could 'reboot' it.
# set 'no' to reboot bind9-server after syncronizing
# RNDC_RELOAD=no
# OR set 'yes' to run <rndc reload> if you have sufficient RAM
# RNDC_RELOAD=yes
RNDC_RELOAD=no
# change Resource Record (RR) and Right Hand Value (RH) if you have other
# policy of RR and RH Value
# for example:
# RPZ_DOM=CNAME block.example.net.
# or:
# RPZ_DOM=IN CNAME block.example.net.
# RPZ_IP4=rpz-ip CNAME block.example.net.
# for more detail about rpz policy action, please see:
# <https://www.zytrax.com/books/dns/ch7/rpz.html#policy-actions>
# defining for 'RR=CNAME' and 'RH=.'
RPZ_DOM=CNAME .
# defining for 'RR=rpz-ip CNAME' and 'RH=.'
RPZ_IP4=rpz-ip CNAME .
# fixed number of lines grab_urls. DON'T CHANGE
URLS=19
# location of zone-files and dataBase (rpz.* and db.*) in bind9-server
ZONE_DIR=/etc/bind/zones-rpz