<fieldset>
    <legend>{DNS_LEGEND}</legend>
    <table class="displayNone formFields" cellspacing="0" width="100%" id="type_select">
        <tr {TYPE_ERROR}>
            <td class="name"><label for="fid-type">{TYPE_TEXT}</label></td>
            <td>{TYPE_LIST}</td>
        </tr>
    </table>

    <table class="formFields" cellspacing="0" width="100%" id="type_select">
        <tr {TTL_ERROR}>
            <td class="name"><label for="fid-ttl">{TTL_TEXT}</label></td>
            <td><input type="text" name="ttl" id="fid-ttl" value="{TTL_VALUE}" size="20" maxlength="10"> {SEC}</td>
        </tr>
    </table>

    <!-- BEGIN DYNAMIC BLOCK: type_A -->
    <table class="displayNone formFields" cellspacing="0" width="100%" id="type_A">
        <tr {A_DOMAIN_NAME_ERROR}>
            <td class="name"><label for="fid-A_int_host">{A_DOMAIN_NAME_TEXT}</label></td>
            <td><input type="text" name="A_int_host" id="fid-A_int_host" value="{A_DOMAIN_NAME_VALUE}" size="15" maxlength="255">&nbsp;.{DNS_ZONE_NAME}.</td>
        </tr>
        <tr {A_IP_ERROR}>
            <td class="name"><label for="fid-A_ip">{A_IP_TEXT}</label>&nbsp;{REQ}</td>
            <td>
                <input type="text" name="A_ip" id="fid-A_ip" value="{A_IP_VALUE}" size="15" maxlength="15">
                <div class="hint">{A_IP_HINT}</div>
            </td>
        </tr>
    </table>
    <!-- END DYNAMIC BLOCK: type_A -->

    <!-- BEGIN DYNAMIC BLOCK: type_A_ro -->
    <table class="formFields" cellspacing="0" width="100%">
        <tr>
            <td class="name">{A_DOMAIN_NAME_TEXT}</td>
            <td>{A_DOMAIN_NAME_VALUE}</td>
        </tr>
        <tr>
            <td class="name">{A_IP_TEXT}</td>
            <td>{A_IP_VALUE}</td>
        </tr>
    </table>
    <!-- END DYNAMIC BLOCK: type_A_ro -->

    <!-- BEGIN DYNAMIC BLOCK: type_AAAA -->
    <table class="displayNone formFields" cellspacing="0" width="100%" id="type_AAAA">
        <tr {AAAA_DOMAIN_NAME_ERROR}>
            <td class="name"><label for="fid-AAAA_int_host">{AAAA_DOMAIN_NAME_TEXT}</label></td>
            <td><input type="text" name="AAAA_int_host" id="fid-AAAA_int_host" value="{AAAA_DOMAIN_NAME_VALUE}" size="15" maxlength="255">&nbsp;.{DNS_ZONE_NAME}.</td>
        </tr>
        <tr {AAAA_IP_ERROR}>
            <td class="name"><label for="fid-AAAA_ip">{AAAA_IP_TEXT}</label>&nbsp;{REQ}</td>
            <td>
                <input type="text" name="AAAA_ip" id="fid-AAAA_ip" value="{AAAA_IP_VALUE}" size="39" maxlength="39">
                <div class="hint">{AAAA_IP_HINT}</div>
            </td>
        </tr>
    </table>
    <!-- END DYNAMIC BLOCK: type_AAAA -->

    <!-- BEGIN DYNAMIC BLOCK: type_AAAA_ro -->
    <table class="formFields" cellspacing="0" width="100%">
        <tr>
            <td class="name">{AAAA_DOMAIN_NAME_TEXT}</td>
            <td>{AAAA_DOMAIN_NAME_VALUE}</td>
        </tr>
        <tr>
            <td class="name">{AAAA_IP_TEXT}</td>
            <td>{AAAA_IP_VALUE}</td>
        </tr>
    </table>
    <!-- END DYNAMIC BLOCK: type_AAAA_ro -->

    <!-- BEGIN DYNAMIC BLOCK: type_PTR -->
    <table class="displayNone formFields" cellspacing="0" width="100%" id="type_PTR">
        <tr {PTR_IP_MASK_ERROR}>
            <td class="name"><label for="fid-PTR_ip">{PTR_IP_MASK_TEXT}&nbsp;{REQ}</label></td>
            <td>
                <input type="text" name="PTR_ip" id="fid-PTR_ip" value="{PTR_IP_VALUE}" size="39" maxlength="39"> /
                <input type="text" name="PTR_mask" id="fid-PTR_mask" value="{PTR_MASK_VALUE}" size="2" maxlength="3">
                <div class="hint">{PTR_IP_HINT}</div>
            </td>
        </tr>
        <tr {PTR_DOMAIN_NAME_ERROR}>
            <td class="name"><label for="fid-PTR_int_host">{PTR_DOMAIN_NAME_TEXT}</label></td>
            <td><input type="text" name="PTR_int_host" id="fid-PTR_int_host" value="{PTR_DOMAIN_NAME_VALUE}" size="15" maxlength="255">&nbsp;.{DNS_ZONE_NAME}.</td>
        </tr>
    </table>
    <!-- END DYNAMIC BLOCK: type_PTR -->

    <!-- BEGIN DYNAMIC BLOCK: type_PTR_ro -->
    <table class="formFields" cellspacing="0" width="100%">
        <tr>
            <td class="name">{PTR_IP_MASK_TEXT}</td>
            <td>{PTR_IP_VALUE} / {PTR_MASK_VALUE}</td>
        </tr>
        <tr>
            <td class="name">{PTR_DOMAIN_NAME_TEXT}</td>
            <td>{PTR_DOMAIN_NAME_VALUE}</td>
        </tr>
    </table>
    <!-- END DYNAMIC BLOCK: type_PTR_ro -->

    <!-- BEGIN DYNAMIC BLOCK: type_NS -->
    <table class="displayNone formFields" cellspacing="0" width="100%" id="type_NS">
        <tr {NS_DOMAIN_NAME_ERROR} {NS_DOMAN_NAME_OPT}>
            <td class="name"><label for="fid-NS_int_host">{NS_DOMAIN_NAME_TEXT}</label></td>
            <td><input type="text" name="NS_int_host" id="fid-NS_int_host" class="f-large-size" value="{NS_DOMAIN_NAME_VALUE}" size="15"
                       maxlength="255">&nbsp;.{DNS_ZONE_NAME}.
            </td>
        </tr>
        <tr {NS_NAME_SERVER_ERROR}>
            <td class="name"><label for="fid-NS_ext_host">{NS_NAME_SERVER_TEXT}</label>&nbsp;{REQ}</td>
            <td><input type="text" name="NS_ext_host" id="fid-NS_ext_host" class="f-large-size" value="{NS_NAME_SERVER_VALUE}" size="15" maxlength="255">&nbsp;.</td>
        </tr>
    </table>
    <!-- END DYNAMIC BLOCK: type_NS -->

    <!-- BEGIN DYNAMIC BLOCK: type_NS_ro -->
    <table class="formFields" cellspacing="0" width="100%">
        <tr>
            <td class="name">{NS_DOMAIN_NAME_TEXT}</td>
            <td>{NS_DOMAIN_NAME_VALUE}.{DNS_ZONE_NAME}.</td>
        </tr>
        <tr>
            <td class="name">{NS_NAME_SERVER_TEXT}</td>
            <td>{NS_NAME_SERVER_VALUE}</td>
        </tr>
    </table>
    <!-- END DYNAMIC BLOCK: type_NS_ro -->

    <!-- BEGIN DYNAMIC BLOCK: type_master -->
    <table class="displayNone formFields" cellspacing="0" width="100%" id="type_master">
        <tr {MASTER_NAME_SERVER_ERROR}>
            <td class="name"><label for="fid-master_ext_host">{MASTER_NAME_SERVER_TEXT}</label>&nbsp;{REQ}</td>
            <td>
                <input type="text" name="master_ext_host" id="fid-master_ext_host" value="{MASTER_NAME_SERVER_VALUE}" size="39" maxlength="255">
                <div class="hint">{MASTER_NAME_SERVER_HINT}</div>
            </td>
        </tr>
    </table>
    <!-- END DYNAMIC BLOCK: type_master -->

    <!-- BEGIN DYNAMIC BLOCK: type_master_ro -->
    <table class="formFields" cellspacing="0" width="100%">
        <tr>
            <td class="name">{MASTER_NAME_SERVER_TEXT}</td>
            <td>{MASTER_NAME_SERVER_VALUE}</td>
        </tr>
    </table>
    <!-- END DYNAMIC BLOCK: type_master_ro -->

    <!-- BEGIN DYNAMIC BLOCK: type_MX -->
    <table class="displayNone formFields" cellspacing="0" width="100%" id="type_MX">
        <tr {MX_MAIL_DOMAIN_ERROR}>
            <td class="name"><label for="fid-MX_int_host">{MX_MAIL_DOMAIN_TEXT}</label></td>
            <td><input type="text" name="MX_int_host" id="fid-MX_int_host" value="{MX_MAIL_DOMAIN_VALUE}" size="15" maxlength="255">&nbsp;.{DNS_ZONE_NAME}.</td>
        </tr>
        <tr {MX_MAIL_EXCHANGER_ERROR}>
            <td class="name"><label for="fid-MX_ext_host">{MX_MAIL_EXCHANGER_TEXT}</label>&nbsp;{REQ}</td>
            <td><input type="text" name="MX_ext_host" id="fid-MX_ext_host" value="{MX_MAIL_EXCHANGER_VALUE}" size="15" maxlength="255">&nbsp;.</td>
        </tr>
        <tr {MX_PRIOR_ERROR}>
            <td class="name"><label for="fid-MX_prior">{MX_PRIOR_TEXT}</label></td>
            <td>{MX_PRIOR_LIST}</td>
        </tr>
    </table>
    <!-- END DYNAMIC BLOCK: type_MX -->

    <!-- BEGIN DYNAMIC BLOCK: type_MX_ro -->
    <table class="formFields" cellspacing="0" width="100%">
        <tr>
            <td class="name">{MX_MAIL_DOMAIN_TEXT}</td>
            <td>{MX_MAIL_DOMAIN_VALUE}</td>
        </tr>
        <tr>
            <td class="name">{MX_MAIL_EXCHANGER_TEXT}</td>
            <td>{MX_MAIL_EXCHANGER_VALUE}</td>
        </tr>
        <tr>
            <td class="name">{MX_PRIOR_TEXT}</td>
            <td>{MX_PRIOR_VALUE}</td>
        </tr>
    </table>
    <!-- END DYNAMIC BLOCK: type_MX_ro -->

    <!-- BEGIN DYNAMIC BLOCK: type_CNAME -->
    <table class="displayNone formFields" cellspacing="0" width="100%" id="type_CNAME">
        <tr {CNAME_DOMAIN_NAME_ERROR}>
            <td class="name"><label for="fid-CNAME_int_host">{CNAME_DOMAIN_NAME_TEXT}</label></td>
            <td><input type="text" name="CNAME_int_host" id="fid-CNAME_int_host" value="{CNAME_DOMAIN_NAME_VALUE}" size="15" maxlength="255">&nbsp;.{DNS_ZONE_NAME}.
            </td>
        </tr>
        <tr {CNAME_CANONICAL_NAME_ERROR}>
            <td class="name"><label for="fid-CNAME_ext_host">{CNAME_CANONICAL_NAME_TEXT}</label>&nbsp;{REQ}</td>
            <td><input type="text" name="CNAME_ext_host" id="fid-CNAME_ext_host" value="{CNAME_CANONICAL_NAME_VALUE}" size="15" maxlength="255">&nbsp;.</td>
        </tr>
    </table>
    <!-- END DYNAMIC BLOCK: type_CNAME -->

    <!-- BEGIN DYNAMIC BLOCK: type_CNAME_ro -->
    <table class="formFields" cellspacing="0" width="100%">
        <tr>
            <td class="name">{CNAME_DOMAIN_NAME_TEXT}</td>
            <td>{CNAME_DOMAIN_NAME_VALUE}</td>
        </tr>
        <tr>
            <td class="name">{CNAME_CANONICAL_NAME_TEXT}</td>
            <td>{CNAME_CANONICAL_NAME_VALUE}</td>
        </tr>
    </table>
    <!-- END DYNAMIC BLOCK: type_CNAME_ro -->

    <!-- BEGIN DYNAMIC BLOCK: type_TXT -->
    <table class="displayNone formFields" cellspacing="0" width="100%" id="type_TXT">
        <tr {TXT_DOMAIN_NAME_ERROR}>
            <td class="name"><label for="fid-TXT_int_host">{TXT_DOMAIN_NAME_TEXT}</label></td>
            <td><input type="text" name="TXT_int_host" id="fid-TXT_int_host" value="{TXT_DOMAIN_NAME_VALUE}" size="20" maxlength="65535">&nbsp;.{DNS_ZONE_NAME}.</td>
        </tr>
        <tr {TXT_TXT_RECORD_ERROR}>
            <td class="name"><label for="fid-TXT_ext_host">{TXT_TXT_RECORD_TEXT}</label></td>
            <td>
                <table cellspacing="0" cellpadding="0">
                    <tr>
                        <td colspan=2>
                            <input type="radio" class="radiobox" name="TXT_spf_syntax" id="fid-TXT_spf_syntax" value="true" {TXT_SPF_SYNTAX_CHECKED}
                                   onClick="onSpfSyntax();">
                            <label for="fid-TXT_spf_syntax">{TXT_SPF_SYNTAX_TEXT}</label>
                            <input type="text" name="TXT_spf_prefix" id="fid-TXT_spf_prefix" value="{TXT_SPF_PREFIX_VALUE}" size="4" DISABLED>
                            <input type="text" name="TXT_value" value="{TXT_TXT_RECORD_VALUE}" size="20" maxlength="255" {TXT_TXT_RECORD_DISABLED}>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <input type="radio" class="radiobox" name="TXT_spf_syntax" value="false" {TXT_NO_SPF_SYNTAX_CHECKED} onClick="onSpfSyntax();">
                        </td>
                        <td>
                            <textarea name="TXT_multiline_value"
                                      style="width: 215px; height:80px;" {TXT_TXT_RECORD_MULTILINE_DISABLED}>{TXT_TXT_RECORD_MULTILINE_VALUE}</textarea>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <!-- END DYNAMIC BLOCK: type_TXT -->

    <!-- BEGIN DYNAMIC BLOCK: type_TXT_ro -->
    <table class="formFields" cellspacing="0" width="100%">
        <tr>
            <td class="name">{TXT_DOMAIN_NAME_TEXT}</td>
            <td>{TXT_DOMAIN_NAME_VALUE}</td>
        </tr>
        <tr>
            <td class="name">{TXT_TXT_RECORD_TEXT}</td>
            <td>{TXT_TXT_RECORD_VALUE}{TXT_TXT_RECORD_MULTILINE_VALUE}</td>
        </tr>
    </table>
    <!-- END DYNAMIC BLOCK: type_TXT_ro -->

    <!-- BEGIN DYNAMIC BLOCK: type_SRV -->
    <table class="displayNone formFields" cellspacing="0" width="100%" id="type_SRV">
        <tr {SRV_SERVICE_NAME_ERROR}>
            <td class="name"><label for="fid-SRV_service_name">{SRV_SERVICE_NAME_TEXT}&nbsp;{REQ}</label></td>
            <td><input type="text" name="SRV_service_name" id="fid-SRV_service_name" value="{SRV_SERVICE_NAME_VALUE}" size="15" maxlength="255"></td>
        </tr>
        <tr {SRV_PROTOCOL_NAME_ERROR}>
            <td class="name"><label for="fid-SRV_protocol_name">{SRV_PROTOCOL_NAME_TEXT}&nbsp;{REQ}</label></td>
            <td><input type="text" name="SRV_protocol_name" id="fid-SRV_protocol_name" value="{SRV_PROTOCOL_NAME_VALUE}" size="15" maxlength="255"></td>
        </tr>
        <tr {SRV_TARGET_PORT_ERROR}>
            <td class="name"><label for="fid-SRV_target_port">{SRV_TARGET_PORT_TEXT}&nbsp;{REQ}</label></td>
            <td><input type="text" name="SRV_target_port" id="fid-SRV_target_port" value="{SRV_TARGET_PORT_VALUE}" size="15" maxlength="255"></td>
        </tr>
        <tr {SRV_PRIORITY_ERROR}>
            <td class="name"><label for="fid-SRV_priority">{SRV_PRIORITY_TEXT}</label></td>
            <td>{SRV_PRIORITY_LIST}</td>
        </tr>
        <tr {SRV_WEIGHT_ERROR}>
            <td class="name"><label for="fid-SRV_weigth">{SRV_WEIGHT_TEXT}</label></td>
            <td>{SRV_WEIGHT_LIST}</td>
        </tr>
        <tr {SRV_TARGET_HOST_ERROR}>
            <td class="name"><label for="fid-SRV_target_host">{SRV_TARGET_HOST_TEXT}&nbsp;{REQ}</label></td>
            <td><input type="text" name="SRV_target_host" id="fid-SRV_target_host" value="{SRV_TARGET_HOST_VALUE}" size="15" maxlength="255">&nbsp;.</td>
        </tr>
    </table>
    <!-- END DYNAMIC BLOCK: type_SRV -->

    <!-- BEGIN DYNAMIC BLOCK: type_SRV_ro -->
    <table class="formFields" cellspacing="0" width="100%">
        <tr>
            <td class="name">{CNAME_DOMAIN_NAME_TEXT}</td>
            <td>{CNAME_DOMAIN_NAME_VALUE}</td>
        </tr>
        <tr>
            <td class="name">{CNAME_CANONICAL_NAME_TEXT}</td>
            <td>{CNAME_CANONICAL_NAME_VALUE}</td>
        </tr>
    </table>
    <!-- END DYNAMIC BLOCK: type_SRV_ro -->

    <!-- BEGIN DYNAMIC BLOCK: type_CAA -->
    <table class="displayNone formFields" cellspacing="0" width="100%" id="type_CAA">
        <tr {CAA_DOMAIN_NAME_ERROR}>
            <td class="name"><label for="fid-CAA_host">{CAA_DOMAIN_NAME_TEXT}</label></td>
            <td><input type="text" name="CAA_host" id="fid-CAA_host" value="{CAA_DOMAIN_NAME_VALUE}" size="20" maxlength="255">&nbsp;.{DNS_ZONE_NAME}.</td>
        </tr>
        <tr {CAA_TAG_ERROR}>
            <td class="name"><label for="fid-CAA_tag">{CAA_TAG_TEXT}</label></td>
            <td>{CAA_TAG_LIST}</td>
        </tr>
        <tr {CAA_VALUE_ERROR}>
            <td class="name"><label for="fid-CAA_value">{CAA_VALUE_TEXT}</label></td>
            <td><input type="text" name="CAA_value" id="fid-CAA_value" value="{CAA_VALUE_VALUE}" size="20" maxlength="255"></td>
        </tr>
    </table>
    <!-- END DYNAMIC BLOCK: type_CAA -->

    <!-- BEGIN DYNAMIC BLOCK: type_CAA_ro -->
    <table class="formFields" cellspacing="0" width="100%">
        <tr>
            <td class="name">{CAA_DOMAIN_NAME_TEXT}</td>
            <td>{CAA_DOMAIN_NAME_VALUE}</td>
        </tr>
        <tr>
            <td class="name"><label for="fid-CAA_tag">{CAA_TAG_TEXT}</label></td>
            <td>{CAA_TAG_VALUE}</td>
        </tr>
        <tr>
            <td class="name">{CAA_VALUE_TEXT}</td>
            <td>{CAA_VALUE_VALUE}</td>
        </tr>
    </table>
    <!-- END DYNAMIC BLOCK: type_CAA_ro -->
</fieldset>
