]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-dhcp6-client: Implement FQDN Option (#7309)
authorStefan Agner <falstaff@deheime.ch>
Thu, 16 Nov 2017 09:07:07 +0000 (10:07 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 16 Nov 2017 09:07:07 +0000 (10:07 +0100)
commit8006aa32ee29538ef1d7978d60d6427a0bf31e80
tree2389d79f6d7acd7043c800182cc3dc3e69b1e98e
parent9740eae694e93b06658ff3b3045b22b591561e7c
sd-dhcp6-client: Implement FQDN Option (#7309)

Implement DHCPv6 option to exchange information about the Fully
Qualified Domain Name (FQDN) according to RFC 4704.

The RFC 4704 describes two models of operations in section 3,
currently only the second model is supported (DHCPv6 server
updates both the AAAA and the PTR RRs).

The existing DHCP Section Options SendHostname and Hostname are
sent as FQDN to the server. According to section 4.2 sending
only parts of its FQDN is allowed.

Fixes #4682.
src/libsystemd-network/dhcp6-internal.h
src/libsystemd-network/dhcp6-option.c
src/libsystemd-network/dhcp6-protocol.h
src/libsystemd-network/sd-dhcp6-client.c
src/libsystemd-network/test-dhcp6-client.c
src/network/networkd-dhcp6.c
src/systemd/sd-dhcp6-client.h