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 (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