Net::DN...:RESINFO(3)
π NAME π
okay bestie, welcome to the Net::DNS::RR::RESINFO page from the User Contributed Perl Documentation β¨ β itβs the DNS RESINFO resource record, and itβs literally here to serve resolver-info realness π
.
β¨ SYNOPSIS β¨
hereβs the whole vibe in code, no cap:
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-17
infourl=https://resolver.example.com/guide )
;; AUTHORITY SECTION (0 records)
;; ADDITIONAL SECTION (0 records)
π¦ DESCRIPTION π¦
Net::DNS::RR::RESINFO is the class for DNS Resolver Information(RESINFO) resource records π.
and real talk: RESINFO is a clone of the Net::DNS::RR::TXT class. periodt.
πΈ METHODS πΈ
The available methods are those inherited from the base class, augmented by the type-specific methods defined in this package π.
π¨ bestie, listen: use of undocumented package features or direct access to internal data structures is discouraged and could result in program termination or other unpredictable behaviour. like, fr fr, donβt do it.
π 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 π.
π COPYRIGHT π
Copyright (c)2024 Dick Franks.
All rights reserved.
Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
π LICENSE π
legal bestie, read carefully:
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the original copyright notices appear in all copies and that both 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 prior written permission.
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.
π SEE ALSO π
Go check out perl, Net::DNS, Net::DNS::RR, Net::DNS::RR::TXT, RFC9606, and <https://iana.org/go/rfc9606> π¦.
π thatβs the page, bestie β source/version perl v5.42.0, dated 2026-09-02, from Net::DN...:RESINFO(3). bye and slay π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: perl-Net-DNS 1.570.0-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms