Bug 233251 - bsdconfig does not accept ipv6 nameserver supplementary
Summary: bsdconfig does not accept ipv6 nameserver supplementary
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 11.2-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Devin Teske
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-16 09:31 UTC by Holger Wagemann
Modified: 2018-11-16 15:05 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Wagemann 2018-11-16 09:31:23 UTC
Dear developers

when trying to modify ipv6 DNS on an up-to-date pre-installed FreeBSD 11.2-RELEASE system per bsdconfig, it seems, that this tool only allows ipv4 entries. A valid ipv6 address like 2a03:b0c0:0:1010::e9a:3001 produces following error message from bsdconfig:

[...]ERROR! One or more individual octets within the IPv4 address
(separated by dots) contains one or more invalid characters.
Octets must contain only the characters 0-9.

Invalid IP Address: 2a03:b0c0:0:1010::e9a:3001[...]

This error is reproducible.

A solution for me is to use DHCP and writing this entries into my router configuration.

But maybe this report helps people, who need a static network configuration on their FreeBSD system.

Kind regards
  Holger
Comment 1 Devin Teske freebsd_committer 2018-11-16 15:05:08 UTC
I'll go ahead and add the missing bits to support IPv6. That includes CIDR notation and all the various different representations of IPv6 that are valid.