ONVIF:...:SetDNS(3pm)
β¨ NAME β¨
ONVIF::Device::Elements::SetDNS β bestie it's a Perl data type class, and it lives in the User Contributed Perl Documentation section of the manual, page ONVIF:...:SetDNS(3pm). Yes the name has dots in it. We don't question it. We love it. π
π DESCRIPTION π
okay so basically this is a Perl data type class for the XML Schema defined element SetDNS, and it comes from the namespace http://www.onvif.org/ver10/device/wsdl. That's it. That's the whole vibe. It's a little class that knows how to be a SetDNS element, no cap. π¦
π PROPERTIES π
The way these work is so clean β you access every one of them with get_PROPERTY / set_PROPERTY methods. Here's the full lineup, no skips, no cuts, we're doing all of them: π
FromDHCPβ the boolean one, and you poke at it like this:
$element->set_FromDHCP($data);
$element->get_FromDHCP();
SearchDomainβ atoken, accessed like so:
$element->set_SearchDomain($data);
$element->get_SearchDomain();
DNSManualβ this one's anONVIF::Device::Types::IPAddress, and:
$element->set_DNSManual($data);
$element->get_DNSManual();
πΈ METHODS πΈ
π§ new
my $element = ONVIF::Device::Elements::SetDNS->new($data);
It's the constructor, babe. That's the whole job. It makes you an object. π«Ά
And here's the data structure you may pass into new() β look at it, it's giving structured. Every field, every comment, exactly as it is:
{
FromDHCP => $some_value, # boolean
SearchDomain => $some_value, # token
DNSManual => { # ONVIF::Device::Types::IPAddress
Type => $some_value, # IPType
IPv4Address => $some_value, # IPv4Address
IPv6Address => $some_value, # IPv6Address
},
},
See how DNSManual nests its whole little ONVIF::Device::Types::IPAddress situation in there? iconic. π₯
π AUTHOR π
Generated by SOAP::WSDL. It didn't have a human author, it was literally born from code, which honestly? main character energy. π
ngl that's the entire page, bestie. go forth and SetDNS. π
perl v5.40.1 Β· 2026-02-01 Β· and that's a wrap on ONVIF:...:SetDNS(3pm) β slay, bye πβ¨π
π¦ where this page comes from
- ubuntu resolute: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- ubuntu stonking: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms