---
name: "Zonemaster::LDNS::RR::NSEC3"
section: "3pm"
platform: "linux"
package: "libzonemaster-ldns-perl"
version: "4.1.0+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Zonemaster::LDNS::RR::NSEC3"
---

# Zonemaster::LDNS::RR::NSEC3(3pm)

Type NSEC3 record

## NAME

Zonemaster::LDNS::RR::NSEC3 - Type NSEC3 record

## DESCRIPTION

A subclass of Zonemaster::LDNS::RR, so it has all the methods of that class available in addition to the ones documented here.

## METHODS

- **algorithm()**

  Returns the algorithm number.

- **flags()**

  Returns the flags field.

- **optout()**

  Returns the optout flag.

- **iterations()**

  Returns the iteration count.

- **salt()**

  Returns the contents of the salt field as a binary string, if non-empty; otherwise, returns an empty string. If there was a problem accessing the salt field, returns undef.

- **next\_owner()**

  Returns the next hashed owner name field, in binary form. To convert the return value to the human-readable presentation format, use "encode\_base32hex" in MIME::Base32.

- **typelist()**

  Returns the typelist as a space-separated string.

- **typehref()**

  Returns the typelist as a reference to a hash where the included types are keys storing true values.

- covers($name)

  Returns true or false depending on if the record covers the given name or not.

- hash\_name($name)

  Computes and returns a hash, in canonical form, of the given name using the parameters (algorithm, iterations, salt) of the resource record.
