Изменить 'opennic-extract-domains'

This commit is contained in:
Alexander Andreev 2020-11-22 22:42:29 +04:00
parent 5ff5acc548
commit d1601699fd

View File

@ -23,7 +23,7 @@ for f in $onic_zone_path/*.zone; do
rm /tmp/$zone.text rm /tmp/$zone.text
while read domain; do while read domain; do
if [ -n "$(dig +short $domain)" ]; then if [ -n "$(dig +short $domain)" ]; then
echo $domain >> $onic_domains_path/$zone.list.withip echo $domain >> $onic_domains_path/$zone.list.active
fi fi
done < $onic_domains_path/$zone.list done < $onic_domains_path/$zone.list
echo "Done" echo "Done"