projects
/
bind9-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- nadogradnja na Squeeze
[bind9-cn.git]
/
debian
/
postinst
diff --git
a/debian/postinst
b/debian/postinst
index
7eee7e4
..
1a86e14
100755
(executable)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-44,6
+44,8
@@
CARNET_REV=`echo $CARNET_IPADDR | awk -F. '{ print $3 "." $2 "." $1 ".in-addr.ar
SERNO=`date +%Y%m%d01`
BROJ=`echo $CARNET_IPADDR | cut -d. -f4`
SERNO=`date +%Y%m%d01`
BROJ=`echo $CARNET_IPADDR | cut -d. -f4`
+echo "CN: Generating Bind9 examples in /usr/share/doc/bind9-cn/examples"
+
# make example named.conf.local
cat > /usr/share/doc/bind9-cn/examples/named.conf.local <<EOF
zone "$CARNET_DOMAINNAME" in {
# make example named.conf.local
cat > /usr/share/doc/bind9-cn/examples/named.conf.local <<EOF
zone "$CARNET_DOMAINNAME" in {
@@
-144,7
+146,8
@@
EOF
cat > /usr/share/doc/bind9-cn/examples/resolv.conf <<EOF
search $CARNET_DOMAINNAME
nameserver 127.0.0.1
cat > /usr/share/doc/bind9-cn/examples/resolv.conf <<EOF
search $CARNET_DOMAINNAME
nameserver 127.0.0.1
-nameserver 161.53.2.70
+nameserver 161.53.123.3
+nameserver 161.53.160.3
EOF
# check if named.conf has lame server logging
EOF
# check if named.conf has lame server logging