Net::RD...meserver(3)

πŸ“¦
version 0.43 Β· 3 versions
, in fedora 44

✨ Net::RDAP::Object::Nameserver ✨

okay bestie, welcome to the manual page for Net::RDAP::Object::Nameserver, section 3 of the User Contributed Perl Documentation πŸ’… this is the lil module that represents a nameserver, and yes it eats, no cap 🫢


🌸 NAME 🌸

Net::RDAP::Object::Nameserver β€” a module representing a nameserver. that's it, that's the vibe πŸ’–


πŸ¦‹ DESCRIPTION πŸ¦‹

So like, Net::RDAP::Object::Nameserver represents DNS servers to which domain names are delegated. that's the whole job. iconic behaviour honestly πŸ‘‘

and here's the best part: Net::RDAP::Object::Nameserver inherits from Net::RDAP::Object, so it has access to all that module's methods. like, all of them. free inheritance, we love to see it πŸ’…βœ¨

Other methods include:

  • $name = $nameserver->name; β€” hands you a Net::DNS::Domain representing the name of the nameserver. that's your nameserver's whole name, returned as an object, slay πŸ’–
  • $name = $domain->unicodeName; β€” gives you a string containing the DNS Unicode name of the domain (or "undef" if there isn't one). fr fr, sometimes it's just undef, and that's not a bug, that's just how it is πŸ™ˆ
  • @addrs = $nameserver->addresses($version); β€” returns a (potentially empty) array of Net::IP objects representing the nameserver's IP addresses. it might be empty! that's allowed! don't panic πŸ’€

$version can be either "v4" or "v6" to restrict the addresses returned to IPv4 and IPv6, respectively. if omitted, all addresses are returned. so like, want only the v4 girlies? pass "v4". only the v6 icons? pass "v6". want the whole squad? just don't pass anything at all 🌈

lowkey important: the array can be empty and it can be potentially empty, so please, for the love of everything, check before you start indexing into it 😭

Copyright 2018-2023 CentralNic Ltd, 2024-2026 Gavin Brown. For licensing information, please see the "LICENSE" file in the Net::RDAP distribution. read the license bestie, it's right there, it's giving responsible πŸ’œ


and that's the whole page!! this was Net::RDAP::Object::Nameserver, shipped with perl v5.42.2, dated 2026-06-17, living in section 3 of the User Contributed Perl Documentation. go forth and resolve some nameservers, you absolute main character πŸ§šπŸ’–βœ¨

πŸ“¦ where this page comes from