[Dnsmasq-discuss] [PATCH] Add RFC 4833 DHCP timezone options
simon at thekelleys.org.uk
Wed Sep 8 20:27:22 UTC 2021
On 06/09/2021 10:16, Petr Menšík wrote:
> I would like officially assigned option name to used if possible. I
> admit pcode and tcode are not best names for it, but they are listed
> like that on IANA . I guess comment would be nice, explaining purpose
> and RFC reference.
> Kea DHCP server  uses also pcode and tcode, can we make match them?
> Is there any other documentation for supported dhcp option names
> excluding source code? Are used names based on usage in other products?
The others in that table don't use official IANA names, it's intended to
be easily-understandable names for common dhcp options in configuration
and logging. As such I'm happy with the patch.
dnsmasq --help dhcp will dump the known options, names and numbers.
> On 9/3/21 2:13 PM, Dominik DL6ER wrote:
>> Hey Simon,
>> this small patch adds the DHCP options "posix-timezone" and "tzdb-
>> timezone" as defined in RFC 4833, Section 2:
>> Examples for valid options are
>>> dhcp-option = option:posix-timezone,"CEST-
>>> dhcp-option = option:tzdb-timezone,"Europe/Berlin"
>> Dnsmasq-discuss mailing list
>> Dnsmasq-discuss at lists.thekelleys.org.uk
> Petr Menšík
> Software Engineer
> Red Hat, http://www.redhat.com/
> email: pemensik at redhat.com
> PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
More information about the Dnsmasq-discuss