14 lines
746 B
Diff
14 lines
746 B
Diff
|
diff --git a/parse.sh b/parse.sh
|
|||
|
index c15aba6..c840f3f 100755
|
|||
|
--- a/parse.sh
|
|||
|
+++ b/parse.sh
|
|||
|
@@ -7,7 +7,7 @@ HERE="$(dirname "$(readlink -f "${0}")")"
|
|||
|
cd "$HERE"
|
|||
|
|
|||
|
# Extract domains from list
|
|||
|
-awk -F ';' '{print $2}' temp/list.csv | sort -u | awk '/^$/ {next} /\\/ {next} /^[а-яА-Яa-zA-Z0-9\-\_\.\*]*+$/ {gsub(/\*\./, ""); gsub(/\.$/, ""); print}' | CHARSET=UTF-8 idn > result/hostlist_original.txt
|
|||
|
+awk -F ';' '{print $2}' temp/list.csv | sort -u | awk '/^$/ {next} /\\/ {next} /^[а-яА-Яa-zA-Z0-9\-\_\.\*]*+$/ {gsub(/\*\./, ""); gsub(/\.$/, ""); print}' | grep -Fv 'bеllonа' | CHARSET=UTF-8 idn > result/hostlist_original.txt
|
|||
|
|
|||
|
# Generate zones from domains
|
|||
|
# FIXME: nxdomain list parsing is disabled due to its instability on z-i
|