added dnsmasq-generator

This commit is contained in:
CHRiSNEW 2019-10-04 13:38:27 +02:00
commit 7c4e1e1d84
1 changed files with 15 additions and 0 deletions

15
dnsmasq-generator.sh Executable file
View File

@ -0,0 +1,15 @@
#!/usr/bin/env bash
while read -r ip; do cat << EOF
server=/50.10.in-addr.arpa/$ip
server=/83.10.in-addr.arpa/$ip
server=/fff.community/$ip
EOF
done << EOF
10.50.40.10
10.83.252.11
10.50.252.0
10.83.252.62
EOF