function authentify_on_dns323 () {
if [[ ! ${already_authentified} ]]; then
echo "Authentifying on ${DNS323_HOSTNAME}."
function authentify_on_dns323 () {
if [[ ! ${already_authentified} ]]; then
echo "Authentifying on ${DNS323_HOSTNAME}."
-L http://${DNS323_HOSTNAME}/goform/formLogin \
-d "f_LOGIN_NAME=admin&f_LOGIN_PASSWD=${DNS323_ADMIN_PASSWORD}&f_login_type=0" \
|| (echo "Failed." >&2 && exit 1)
-L http://${DNS323_HOSTNAME}/goform/formLogin \
-d "f_LOGIN_NAME=admin&f_LOGIN_PASSWD=${DNS323_ADMIN_PASSWORD}&f_login_type=0" \
|| (echo "Failed." >&2 && exit 1)