™.. Net::DNS::RR::OPT - Online Linux Manual PageSection : 3
Updated : 2009-01-26
Source : perl v5.10.1
Note : User Contributed Perl Documentation
NAMENet::DNS::RR::OPT − DNS OPT
SYNOPSIS\*(C`use Net::DNS::RR\*(C'\fR;
DESCRIPTIONClass for EDNS pseudo resource record OPT.
METHODSThis object should only be used inside the Net::DNS classes itself.
newSince ‟OPT” is a pseudo record and should not be stored in masterfiles; Therefore we have not implemented a method to create this RR from string. One may create the object from a hash. See RFC 2671 for details for the meaning of the hash keys. $rr= new Net::DNS::RR {
name => "", # Ignored and set to ""
type => "OPT",
class => 1024, # sets UDP payload size
extendedrcode => 0x00, # sets the extended RCODE 1 octets
ednsflags => 0x0000, # sets the ednsflags (2octets)
optioncode => 0x0 # 2 octets
optiondata => 0x0 # optionlength octets
}
The ednsversion is set to 0 for now. The ttl value is determined from the extendedrcode, the ednsversion and the ednsflag. The rdata is constructed from the optioncode and optiondata see section 4.4 of RFC 2671 If optioncode is left undefined then we do not expect any RDATA. The defaults are no rdata.
do, set_do, clear_do $opt−>set_do;
Reads, sets and clears the do flag. (first bit in the ednssflags);
size $opt−>size(1498);
print "Packet size:". $opt−>size() ;
Sets or gets the packet size.
TODO− This class is tailored to use with dnssec. − Do some range checking on the input. − This class probably needs subclasses once OPTION codes start to be defined. − look at use of extended labels
COPYRIGHTCopyright (c) 2001, 2002 RIPE NCC. Author Olaf M. Kolkman All Rights Reserved Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of the author not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS; IN NO EVENT SHALL AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Based on, and contains, code by Copyright (c) 1997−2002 Michael Fuhr.
SEE ALSOperl (1), Net::DNS, Net::DNS::Resolver, Net::DNS::Packet, Net::DNS::Header, Net::DNS::Question, Net::DNS::RR, RFC 2435 Section 3 0
Johanes Gumabo
Data Size : 12,569 byte
man-Net::DNS::RR::OPT.3pmBuild : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 4 / 173,143
Visitor ID : :
Visitor IP : 18.188.211.246 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|249|Net::DNS::RR::OPT.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\|
) (htmlprn|149|Net::DNS::RR::OPT.3pm|36/37|.el══─{─══. ds -- — |.el══─{─══. ds -- \|\(em\|
) (parse_manual_page_|249|Net::DNS::RR::OPT.3pm|41|br══─}─══|'br══─}─══
) (htmlprn|149|Net::DNS::RR::OPT.3pm|41|'br══─}─══ |'br══─}─══
) (rof_nr_x|149|Net::DNS::RR::OPT.3pm|51/52|\nF|.ie \nF ══─{─══. de IX
) (rof_unit_scale_px|41|Net::DNS::RR::OPT.3pm|51/52|F|.ie \nF ══─{─══. de IX
) (rof_if|19|Net::DNS::RR::OPT.3pm|51/52|\nF|.ie \nF ══─{─══. de IX
) (htmlprn|149|Net::DNS::RR::OPT.3pm|51/52|.ie \nF ══─{─══. de IX|.ie \nF ══─{─══. de IX
) (rof_escape_sequence|91|Net::DNS::RR::OPT.3pm|53|\$1\t\\n%\t"\\$2" |. tm Index:\\$1\t\\n%\t"\\$2"
) (parse_manual_page_|249|Net::DNS::RR::OPT.3pm|57|══─}─══|.══─}─══
) (htmlprn|149|Net::DNS::RR::OPT.3pm|57|.══─}─══ |.══─}─══
) (rof_escape_sequence|91|Net::DNS::RR::OPT.3pm|136|\*(C`use Net::DNS::RR\*(C'\fR; |\&\f(CW\*(C`use Net::DNS::RR\*(C'\fR;
)