Net::DN...R::DELEG(3)

🌸 NAME 🌸

Net::DNS::RR::DELEG β€” the DNS DELEG resource record, bestie πŸ’– (and yes, this is the Net::DN...R::DELEG(3) page from the User Contributed Perl Documentation, so you're in the right place ✨)


πŸ¦‹ SYNOPSIS πŸ¦‹

okay so here's how you actually make one of these bad boys:

use Net::DNS;
$rr = Net::DNS::RR->new('zone DELEG server-ipv4=192.0.2.1 ...');
$rr = Net::DNS::RR->new('zone DELEG server-ipv6=2001:db8::53 ...');
$rr = Net::DNS::RR->new('zone DELEG server-name=nameserver.example ...');
$rr = Net::DNS::RR->new('zone DELEG include-delegparam=provider.example');

like, pick your flavor, they're all iconic πŸ’…


πŸ’œ DESCRIPTION πŸ’œ

The DNS DELEG resource record set β€” no matter where it shows up β€” designates the authoritative nameservers and transport parameters that get used to resolve queries for data at the owner name or anything under it. basically it's the main character telling everyone where to go πŸ‘‘

The DELEG RRset is authoritative data within the delegating zone. periodt.

⚠️ real talk though: a DELEG RRset must not appear at the apex of a delegated zone. not it. don't do that. πŸ’€

✨ METHODS ✨

The available methods are the ones inherited from the base class, plus the type-specific ones defined in this package. that's the whole vibe 🫢

πŸ™ˆ Use of undocumented package features or direct access to internal data structures is discouraged β€” and it could result in program termination or other unpredictable behaviour. so like… don't poke the bear, bestie. 😭

πŸŽ€ server_ipv4

eg.example. DELEG server-ipv4=192.0.2.1,...
@ip = $rr->server_ipv4;

Sets or gets a list of IP addresses. that's it, that's the function ✨

🌈 server_ipv6

eg.example. DELEG server-ipv6=2001:db8::53,...
@ip = $rr->server_ipv6;

Sets or gets a list of IP addresses. same energy, v6 edition πŸ’…

🧚 server_name

eg.example. DELEG server-name=nameserver.example.
$nameserver = $rr->server_name;

Specifies the domain name of the nameserver. πŸ“›

Returns the nameserver domain name β€” or the undefined value if it's not specified. (undefined is giving mysterious πŸ«₯)

πŸ“ include_delegparam

eg.example. DELEG include-delegparam=provider.example.
$destination = $rr->include_delegparam;

Specifies the location of a devolved nameserver configuration. fancy πŸ‘‘

Returns the destination domain name β€” or the undefined value if not specified.


Copyright (c)2025-2026 Dick Franks.

All rights reserved.

Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.


🌸 LICENSE 🌸

okay legal bestie moment, stay with me πŸ“œ

Permission to use, copy, modify, and distribute this software and its documentation is hereby granted for any purpose and without fee β€” but only if the original copyright notices appear in all copies, both this copyright notice and this permission notice show up in supporting documentation, and the name of the author is not used in advertising or publicity pertaining to distribution of the software without specific prior written permission. yes all of that. no cap. ✍️

πŸ’€ 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.

(that one's not me being dramatic, that's literally the deal 😭)


πŸ”₯ SEE ALSO πŸ”₯

the whole friend group 🫢

  • perl
  • Net::DNS
  • Net::DNS::RR
  • draft-ietf-deleg-10

that's the page, bestie πŸ’– go forth and delegate responsibly. this was perl v5.42.0, dated 2026-09-02, living at Net::DN...R::DELEG(3) β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from