Bug 120024 - resolver(5) and hosts(5) need updated for IPv6
Summary: resolver(5) and hosts(5) need updated for IPv6
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ceri Davies
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-26 23:00 UTC by Rebecca Cran
Modified: 2022-11-14 08:23 UTC (History)
3 users (show)

See Also:


Attachments
proposed patch (1.71 KB, patch)
2020-08-19 19:34 UTC, Ghost
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rebecca Cran freebsd_committer freebsd_triage 2008-01-26 23:00:02 UTC
Both resolver(5) and hosts(5) say the addresses are specified in dot notation.  Since IPv6 addresses are colon-delimited this is no longer valid.

How-To-Repeat: 'man 5 resolver' and 'man 5 hosts'.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:54 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 2 Ghost 2020-08-19 19:34:30 UTC
Created attachment 217351 [details]
proposed patch
Comment 3 Ghost 2020-08-19 23:07:46 UTC
s/specified using either/specified either in
Comment 4 commit-hook freebsd_committer freebsd_triage 2021-05-25 15:24:18 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=a23b08cf98d92ff82adeebc84673e9bd3cd0a6da

commit a23b08cf98d92ff82adeebc84673e9bd3cd0a6da
Author:     Ceri Davies <ceri@FreeBSD.org>
AuthorDate: 2021-05-25 15:16:24 +0000
Commit:     Ceri Davies <ceri@FreeBSD.org>
CommitDate: 2021-05-25 15:23:20 +0000

    man5/{hosts,resolver}.5: note that IPv6 addresses are allowed.

    The patch in the PR largely no longer applied due to age, but
    thanks to Evgeniy Khramtsov for the patches in the PR.

    PR:             120024
    Reported by:    bcran
    Approved by:    blackend (mentor)
    Obtained from:  Evgeniy Khramtsov <evgeniy@khramtsov.org> (partly)

 share/man/man5/hosts.5    | 10 ++++++----
 share/man/man5/resolver.5 |  4 ++--
 2 files changed, 8 insertions(+), 6 deletions(-)
Comment 5 commit-hook freebsd_committer freebsd_triage 2022-09-24 08:31:54 UTC
A commit in branch stable/13 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=2b1bb1d4a66d6d791ebbbe05cfad7c49646daa22

commit 2b1bb1d4a66d6d791ebbbe05cfad7c49646daa22
Author:     Ceri Davies <ceri@FreeBSD.org>
AuthorDate: 2021-05-25 15:16:24 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-09-24 08:30:24 +0000

    man5/{hosts,resolver}.5: note that IPv6 addresses are allowed.

    The patch in the PR largely no longer applied due to age, but
    thanks to Evgeniy Khramtsov for the patches in the PR.

    PR:             120024
    Reported by:    bcran
    Approved by:    blackend (mentor)
    Obtained from:  Evgeniy Khramtsov <evgeniy@khramtsov.org> (partly)

    (cherry picked from commit a23b08cf98d92ff82adeebc84673e9bd3cd0a6da)

 share/man/man5/hosts.5    | 10 ++++++----
 share/man/man5/resolver.5 |  2 +-
 2 files changed, 7 insertions(+), 5 deletions(-)
Comment 6 commit-hook freebsd_committer freebsd_triage 2022-11-14 08:23:09 UTC
A commit in branch stable/12 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=6d105d73ca5c6301d4cd5942771082054a9c6df1

commit 6d105d73ca5c6301d4cd5942771082054a9c6df1
Author:     Ceri Davies <ceri@FreeBSD.org>
AuthorDate: 2021-05-25 15:16:24 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-11-14 08:16:46 +0000

    man5/{hosts,resolver}.5: note that IPv6 addresses are allowed.

    The patch in the PR largely no longer applied due to age, but
    thanks to Evgeniy Khramtsov for the patches in the PR.

    PR:             120024
    Reported by:    bcran
    Approved by:    blackend (mentor)
    Obtained from:  Evgeniy Khramtsov <evgeniy@khramtsov.org> (partly)

    (cherry picked from commit a23b08cf98d92ff82adeebc84673e9bd3cd0a6da)

 share/man/man5/hosts.5    | 10 ++++++----
 share/man/man5/resolver.5 |  4 ++--
 2 files changed, 8 insertions(+), 6 deletions(-)