WHMCS does not natively support all DNS records supported by Openprovider, so to add support for additional records, you will need to edit your template files. We have created a request for WHMCS to make this easier. Please upvote this request here.
Current as of WHMCS version 8.1
Open whmcs/templates/CURRENT_THEME_TEMPLATE/clientareadomaindns.tpl
Search for the version with the options like the one below. Note that it includes the "selected" substring:
<option value="A"{if $dnsrecord.type eq "A"} selected="selected"{/if}>{lang key="domainDns.a"}</option>
To include an SPF and SRV records, you could add the examples shown below:
<option value="SPF"{if $dnsrecord.type eq "SPF"} selected="selected"{/if}>SPF</option>
<option value="SRV"{if $dnsrecord.type eq "SRV"} selected="selected"{/if}>SRV</option>
Search for the second <select name="dnsrecordtype[]" class="form-control">
. Search for the version similar to the one below. Note that the "selected" substring is not used.
<option value="A">{lang key="domainDns.a"}</option>
Add the below options to allow end users to create SPF and SRV records.
<option value="SPF">SPF</option>
<option value="SRV">SRV</option>
Find the block similar to the below, where the priority field is added.
{if $dnsrecord.type eq "MX"}
This 'if' statement is used twice in the file. Add an or $dnsrecord.type eq "SRV"
as below to both conditional blocks:
{if $dnsrecord.type eq "MX" or $dnsrecord.type eq "SRV"}