[Pdns-users] zone2sql

Bob Lockie bjlockie at lockie.ca
Wed Jun 30 18:33:15 UTC 2004


I processed 32854 files with this script that calls zone2sql:

#!/bin/bash

for i in `find ./ -name \*`
do
     j=${i%%.db}
     k=${j##./}
#    echo "name " ${k}
     l=${i##./}
#    echo "file " ${l}
     zone2sql --gmysql --zone="${l}" --zone-name="${k}"
done


61225 "insert into domains" are generated.

I thought there should be one "insert into domains" for each file.

Is my understand incorrect or do I need to dig into the data?


More information about the Pdns-users mailing list