Bug 2095207
Summary: | [RFE] Support IPv6 link local address for DNS server | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Quique Llorente <ellorent> | |
Component: | nmstate | Assignee: | Gris Ge <fge> | |
Status: | CLOSED ERRATA | QA Contact: | Mingyu Shi <mshi> | |
Severity: | medium | Docs Contact: | Marc Muehlfeld <mmuehlfe> | |
Priority: | unspecified | |||
Version: | 9.1 | CC: | ferferna, fge, jiji, jishi, jklech, network-qe, sfaye, sukulkar, till | |
Target Milestone: | rc | Keywords: | FutureFeature, Triaged | |
Target Release: | 9.2 | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | nmstate-2.2.2-0.alpha.20221201.el9 | Doc Type: | Enhancement | |
Doc Text: |
.The `nmstate` API now supports IPv6 link-local addresses as DNS servers
With this enhancement, you can use the `nmstate` API to set IPv6 link-local addresses as DNS servers. Use the `<link-local_address>%<interface>` format, for example:
----
dns-resolver:
config:
server:
- fe80::deef:1%enp1s0
----
|
Story Points: | --- | |
Clone Of: | ||||
: | 2142619 (view as bug list) | Environment: | ||
Last Closed: | 2023-05-09 07:31:01 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 2130231, 2142619 |
Description
Quique Llorente
2022-06-09 09:56:55 UTC
When IPv6 link local address is used as DNS resolve server, the interface name should be defined in the format of`<ipv6-link-local-address>%<interface_name>`. Reporter agreed to targeting this bug in 9.2. The acceptance criteria is allowing user to use IPv6 link local address as DNS resolver(e.g. fe80::e880:55ff:fe96:6424%eth0). Removing from the 8.8 RPL tracker. See Devel whiteboard for details. -Sushil Patch sent to upstream: https://github.com/nmstate/nmstate/pull/2105 Example yaml: ``` --- dns-resolver: config: search: - example.com - example.org server: - fe80::deef:1%eth1 - 2001:4860:4860::8844 - 8.8.4.4 - 8.8.8.8 interfaces: - name: eth1 type: ethernet state: up ipv4: address: - ip: 192.0.2.251 prefix-length: 24 dhcp: false enabled: true ipv6: address: - ip: 2001:db8:1::1 prefix-length: 64 dhcp: false enabled: true autoconf: false routes: config: - destination: 0.0.0.0/0 next-hop-address: 192.0.2.1 next-hop-interface: eth1 - destination: ::/0 next-hop-address: 2001:db8:1::3 next-hop-interface: eth1 ``` Verified with: nmstate-2.2.5-1.el9.x86_64 nispor-1.2.9-1.el9.x86_64 NetworkManager-1.41.90-1.el9.x86_64 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (nmstate bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:2190 |