The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Unix::Conf::Bind8::DB::MX - Class representing MX records.

SYNOPSIS

Refer to the SYNOPSIS section for Unix::Conf::Bind8::DB::Record.

METHODS

Methods specified here are overridden. They might or not be differnt from the derived ones. For other methods refer to the METHODS section for Unix::Conf::Bind8::DB::Record.

new ()
 Arguments
 LABEL          => 'string',
 CLASS          => 'string',    # 'IN'|'HS'|'CHAOS'
 TTL            => 'string'|number,
 RTYPE          => 'string',    # 'A'|'NS'|'MX'|'SOA'|'CNAME'|'PTR'
 MXPREF         => mxpref               # number
 RDATA          => data
 PARENT         => reference,   # to the DB object datastructure

Class constructor. Creates a new Unix::Conf::Bind8::DB::MX object and returns it if successful, an Err object otherwise. Do not use this constructor directly. Use the Unix::Conf::Bind8::DB::new_mx () equivalent instead.

mxpref ()
 Arguments
 mxpref # number

Object method. Get/set the record's mxpref. If an argument is passed, the invocant's mxpref is set and true returned, on success, an Err object otherwise. If no argument is passed the invocant's mxpref is returned.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 19:

=over without closing =back