use Net::DNS; $rr = Net::DNS::RR->new('name NSEC3PARAM algorithm flags iterations salt');
The NSEC3PARAM RR contains the NSEC3 parameters (hash algorithm, flags, iterations and salt) needed to calculate hashed ownernames.
The presence of an NSEC3PARAM RR at a zone apex indicates that the specified parameters may be used by authoritative servers to choose an appropriate set of NSEC3 records for negative responses.
The NSEC3PARAM RR is not used by validators or resolvers.
Use of undocumented package features or direct access to internal data structures is discouraged and could result in program termination or other unpredictable behaviour.
$algorithm = $rr->algorithm; $rr->algorithm( $algorithm );
The Hash Algorithm field is represented as an unsigned decimal integer. The value has a maximum of 255.
$flags = $rr->flags; $rr->flags( $flags );
The Flags field is represented as an unsigned decimal integer. The value has a maximum of 255.
$iterations = $rr->iterations; $rr->iterations( $iterations );
The Iterations field is represented as an unsigned decimal integer. The value is between 0 and 65535, inclusive.
$salt = $rr->salt; $rr->salt( $salt );
The Salt field is represented as a contiguous sequence of hexadecimal digits. A ``-'' (unquoted) is used in string format to indicate that the salt field is absent.
$saltbin = $rr->saltbin; $rr->saltbin( $saltbin );
The Salt field as a sequence of octets.
All rights reserved.
Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.