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

πŸ’… NAME πŸ’…

Okay so bestie, <pink>Net::DNS::RR::EUI48</pink> β€” it's the DNS EUI48 resource record. That's the whole vibe. A 48-bit Extended Unique Identifier just chilling in your DNS. Slay.


✨ SYNOPSIS ✨

Like, here's how you actually use it:

use Net::DNS;
$rr = Net::DNS::RR->new('name IN EUI48 address');

$rr = Net::DNS::RR->new(
                name    => 'example.com',
                type    => 'EUI48',
                address => '00-00-5e-00-53-2a'
                );

Two ways to do the exact same thing, because options are a love language 🫢 One's the stringy one-liner, the other's the hash-of-keys glow-up. Pick your fighter.


πŸ¦‹ DESCRIPTION πŸ¦‹

So these are the DNS resource records for a 48-bit Extended Unique Identifier β€” EUI48, iykyk.

The EUI48 resource record exists to represent IEEE Extended Unique Identifiers, the ones used all over the place in various layer-2 networks β€” ethernet, for example. Yes, that ethernet. Main character of layer 2.

⚠️ Okay, real talk, this is the important part: EUI48 addresses SHOULD NOT be published in the public DNS. Not being dramatic β€” RFC7043 literally describes potentially severe privacy implications that come from indiscriminately publishing link-layer addresses in the DNS. That's not a vibe. Don't do it. πŸ™ˆ

🌸 METHODS 🌸

The methods you get are the ones inherited from the base class, plus whatever type-specific methods this package defines on top. Best of both worlds, honestly.

πŸ’€ Small warning though: using undocumented package features or directly poking at internal data structures is discouraged β€” and by discouraged we mean it could result in program termination or other unpredictable behaviour. Not the fun kind of chaotic. Leave the internals alone, bestie.

πŸŽ€ address πŸŽ€

The address field is a 6-octet layer-2 address in network byte order.

The presentation format is hexadecimal separated by -. Cute, hyphenated, hexadecimal. Periodt.


Copyright (c)2013 Dick Franks.

All rights reserved.

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


⭐ LICENSE ⭐

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 🌈


πŸ’– That's the whole page, bestie β€” brought to you by perl v5.42.0, dated 2026-09-02. Go forth and not publish your MAC addresses in public DNS. πŸ’–

πŸ“¦ where this page comes from