<form>
    <field>
        <id>domain.enabled</id>
        <label>Enabled</label>
        <type>checkbox</type>
        <help>Enable this domain override</help>
    </field>
    <field>
        <id>domain.domain</id>
        <label>Domain</label>
        <type>text</type>
        <help>
            Domain to override (NOTE: this does not have to be a valid TLD!),
            e.g. 'test' or 'mycompany.localdomain' or '1.168.192.in-addr.arpa'
        </help>
    </field>
    <field>
        <id>domain.server</id>
        <label>IP address</label>
        <type>text</type>
        <help>
            IP address of the authoritative DNS server for this domain,
            e.g. '192.168.100.100'. To use a non-default port for communication,
            append an '@' with the port number.
        </help>
    </field>
    <field>
        <id>domain.forward_tcp_upstream</id>
        <label>Forward TCP upstream</label>
        <type>checkbox</type>
        <advanced>true</advanced>
        <help>
            Upstream queries use TCP only for transport regardless of global flag tcp-upstream.
            Please note this setting applies to the domain, so when multiple forwarders are defined for the same domain,
            all are assumed to use tcp only.
        </help>
    </field>
    <field>
        <id>domain.description</id>
        <label>Description</label>
        <type>text</type>
        <help>You may enter a description here for your reference (not parsed).</help>
    </field>
</form>
