NAME
Net::DHCPv6::Option::NtpServer - NTP Server option (code 56) -- sub-options for NTP configuration per RFC 5908
VERSION
version 0.003
SYNOPSIS
my $raw = $dhcpv6_msg->options->get_option( 56 );
for my $e ( @{ $raw->entries } ) {
say "$e->{type}: $e->{value}";
}
DESCRIPTION
Carries NTP server configuration as a set of sub-options per RFC 5908. Sub-option codes:
1 NTP Sub-option Address (16-byte IPv6 address)
2 NTP Sub-option FQDN (domain name)
3 NTP Sub-option Domain (domain name)
ALPHA STATUS
ALPHA SOFTWARE. This is an early release. The interface is experimental and subject to change without notice.
METHODS
new
Constructor. Optional entries (arrayref of hashrefs with subopt and value keys).
entries
Returns the arrayref of sub-option hashrefs. Each known sub-option also includes a type key (one of address, fqdn, domain).
SEE ALSO
Net::DHCPv6::Option, Net::DHCPv6::OptionList, RFC 5908.
AUTHOR
Dean Hamstead <dean@fragfest.com.au>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2026 by Dean Hamstead.
This is free software, licensed under:
The MIT (X11) License