dnsmasq-tools/dnsmasq-generator.sh

16 lines
214 B
Bash
Raw Permalink Normal View History

2019-10-04 13:38:27 +02:00
#!/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