Convert reverse DNS zone to forward DNS zone
A one liner to convert a reverse DNS zone to a forward DNS zone:
cat 123.345.567.in-addr.arpa | awk '{ printf "%s\tIN\tA\t123.345.567.%s\n", $4, $1; }' | >> myforwardzone.zone
🙂
Stu
Sorry, the comment form is closed at this time.
Read more
« Coke explosion :)
Making Plesk rewrite it’s .qmail properly »