Net::DNS::RR::RESINFO3pm
Dns resinfo resource record
Usage
use Net::DNS;my $target = 'resolver.example.net';my $resolver = Net::DNS::Resolver->new(nameserver => $target,recurse => 0);$resolver->send( $target, 'RESINFO' )->print;;; HEADER SECTION;; id = 46638;; qr = 1 aa = 1 tc = 0 rd = 0 opcode = QUERY;; ra = 0 z = 0 ad = 0 cd = 0 rcode = NOERROR;; do = 0 co = 0;; qdcount = 1 ancount = 1;; nscount = 0 arcount = 0;; QUESTION SECTION (1 record);; resolver.example.net. IN RESINFO;; ANSWER SECTION (1 record)resolver.example.net. 7200 IN RESINFO (qnamemin exterr=15-17infourl=https://resolver.example.com/guide );; AUTHORITY SECTION (0 records);; ADDITIONAL SECTION (0 records)
Overview
Class for DNS Resolver Information(RESINFO) resource records.
RESINFO is a clone of the Net::DNS::RR::TXT class.
Methods
The available methods are those inherited from the base class augmented by the type-specific methods defined in this package.
Use of undocumented package features or direct access to internal data structures is discouraged and could result in program termination or other unpredictable behaviour.
txtdata
$string = $rr->txtdata;@list = $rr->txtdata;
When invoked in scalar context, $rr->txtdata() returns the resolver properties as a single string, with elements separated by a single space.
In a list context, $rr->txtdata() returns a list of the text elements.
Releases
2 releases since Debian 13 (Trixie); the text changed 1 time.