(root)/trunk/bind/getMasterDomains.sh – Rev 156
Details |
Last modification |
View Log
| RSS feed
Rev |
Author |
Line No. |
Line |
156 |
rodolico |
1 |
#! /bin/bash
|
|
|
2 |
|
|
|
3 |
# retrieves all domains whose zone files are not in the directories
|
|
|
4 |
# SEC and DYN
|
|
|
5 |
# In our system, by convention, these are domains for which this server
|
|
|
6 |
# is the master
|
|
|
7 |
|
|
|
8 |
echo "Following files are not dynamic or SEC"
|
|
|
9 |
grep "^\\s*file" /var/bind9/chroot/etc/bind/named.conf.local | grep -v SEC | grep -v DYN | cut -d'"' -f2
|
|
|
10 |
|