use Net::DNS; $rr = Net::DNS::RR->new('name KX preference exchange');
Use of undocumented package features or direct access to internal data structures is discouraged and could result in program termination or other unpredictable behaviour.
$preference = $rr->preference; $rr->preference( $preference );
A 16 bit integer which specifies the preference given to this RR among others at the same owner. Lower values are preferred.
$exchange = $rr->exchange; $rr->exchange( $exchange );
A domain name which specifies a host willing to act as a key exchange for the owner name.
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.