Subject: | We can't add records of types 'srv','hinfo','rp' and 'loc' |
Hello!
The example about adding a records works perfect, and it also works for
a lot of records, but not for the following : 'srv','hinfo','rp' and 'loc'
I'm getting "Invalid method called: srv at argonaut-ldap2zone line 146"
The doc says "If there are no records of a given type in the zone, the
call will croak with an error message about an invalid method. (This is
not an ideal behavior, but has been kept for backwards compatibility.)"
So maybe this is on purpose, but why only for these record types?
And anyway, could you add a workaround this bug even if you keep it for
backward compatibility? (For instance add a parameter to the method if
we want to create an empty array and get it, or an other method)