LDNS buffer.
Adds explicit dnssec_name structures for the empty nonterminals in this zone.
(this is needed for NSEC3 generation)
Returns: | (ldns_status) |
---|
Adds the given RR to the zone.
It find whether there is a dnssec_name with that name present. If so, add it to that, if not create a new one. Special handling of NSEC and RRSIG provided.
Parameters: | rr – The RR to add |
---|---|
Returns: | (ldns_status) LDNS_STATUS_OK on success, an error code otherwise |
Adds NSEC3 records to the zone.
Parameters: |
|
---|---|
Returns: | (ldns_status) |
Adds NSEC records to the given dnssec_zone.
Parameters: | new_rrs – ldns_rr’s created by this function are added to this rr list, so the caller can free them later |
---|---|
Returns: | (ldns_status) LDNS_STATUS_OK on success, an error code otherwise |
Adds signatures to the zone.
Parameters: |
|
---|---|
Returns: | (ldns_status) LDNS_STATUS_OK on success, error otherwise |
Find the RRset with the given name and type in the zone.
Parameters: |
|
---|---|
Returns: | (ldns_dnssec_rrsets *) the RRset, or NULL if not present |
Prints the complete zone to the given file descriptor.
Parameters: | file – file pointer |
---|
signs the given zone with the given keys
Parameters: |
|
---|---|
Returns: | (ldns_status) LDNS_STATUS_OK on success, an error code otherwise |
signs the given zone with the given keys (with callback function)
Parameters: |
|
---|---|
Returns: | (ldns_status) LDNS_STATUS_OK on success, an error code otherwise |
signs the given zone with the given new zone, with NSEC3
Parameters: |
|
---|---|
Returns: | (ldns_status) LDNS_STATUS_OK on success, an error code otherwise |
LDNS buffer.
Inserts the given rr at the right place in the current dnssec_name No checking is done whether the name matches.
Parameters: | rr – The RR to add |
---|---|
Returns: | (ldns_status) LDNS_STATUS_OK on success, error code otherwise |
Find the RRset with the given type in within this name structure.
Parameters: | atype – |
---|---|
Returns: | (ldns_dnssec_rrsets *) the RRset, or NULL if not present |
Returns the domain name of the given dnssec_name structure.
Returns: | (ldns_rdf *) the domain name |
---|
Create a new instace of dnssec name for the given RR.
Returns: | (ldns_dnssec_name) instance |
---|
Prints the RRs in the dnssec name structure to the given file descriptor.
Parameters: | file – file pointer |
---|
Sets the domain name of the given dnssec_name structure.
Parameters: | dname – the domain name to set it to. This data is not copied. |
---|
Sets the NSEC(3) RR of the given dnssec_name structure.
Parameters: | nsec – the nsec rr to set it to. This data is not copied. |
---|
LDNS buffer.
Add an ldns_rr to the corresponding RRset in the given list of RRsets.
If it is not present, add it as a new RRset with 1 record.
Parameters: | rr – the rr to add to the list of rrsets |
---|---|
Returns: | (ldns_status) LDNS_STATUS_OK on success |
Print the given list of rrsets to the given file descriptor.
Parameters: |
|
---|
Sets the RR type of the rrset (that is head of the given list).
Parameters: | atype – |
---|---|
Returns: | (ldns_status) LDNS_STATUS_OK on success |
Returns the rr type of the rrset (that is head of the given list).
Returns: | (ldns_rr_type) the rr type |
---|