Karthik Krishnamurthy > Unix-Conf-Bind8-0.3 > Unix::Conf::Bind8::DB::MX

Download:
Unix-Conf-Bind8-0.3.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

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.

syntax highlighting: