git: 36c7fd643bd7 - stable/13 - Remove references to named(8)

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Sat, 24 Sep 2022 08:11:02 UTC
The branch stable/13 has been updated by gbe (doc committer):

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

commit 36c7fd643bd72e9d75536ad1010d0a6410f7c934
Author:     Fernando ApesteguĂ­a <fernape@FreeBSD.org>
AuthorDate: 2022-06-22 16:39:30 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-09-24 08:09:35 +0000

    Remove references to named(8)
    
    named(8) hasn't been in base for some time. Remove all references to it in
    manual pages.
    
    Approved by:    manpages (Pau Amma)
    Differential Revision:  https://reviews.freebsd.org/D35586
    
    (cherry picked from commit 942e234d868ddc64a11b6af0ee78d47ccb44de1f)
---
 lib/libc/net/getaddrinfo.3     | 3 +--
 lib/libc/net/gethostbyname.3   | 7 ++-----
 lib/libc/net/getipnodebyname.3 | 3 +--
 lib/libc/net/getnameinfo.3     | 3 +--
 lib/libc/net/getnetent.3       | 4 +---
 lib/libc/net/hesiod.3          | 3 +--
 lib/libc/net/resolver.3        | 3 +--
 sbin/routed/routed.8           | 7 +++----
 usr.bin/hesinfo/hesinfo.1      | 3 +--
 usr.sbin/jail/jail.8           | 6 ------
 usr.sbin/ppp/ppp.8             | 6 +-----
 11 files changed, 13 insertions(+), 35 deletions(-)

diff --git a/lib/libc/net/getaddrinfo.3 b/lib/libc/net/getaddrinfo.3
index bd0084db2b3c..bd7455127390 100644
--- a/lib/libc/net/getaddrinfo.3
+++ b/lib/libc/net/getaddrinfo.3
@@ -482,8 +482,7 @@ freeaddrinfo(res0);
 .Xr hosts 5 ,
 .Xr resolv.conf 5 ,
 .Xr services 5 ,
-.Xr hostname 7 ,
-.Xr named 8
+.Xr hostname 7
 .Rs
 .%A R. Gilligan
 .%A S. Thomson
diff --git a/lib/libc/net/gethostbyname.3 b/lib/libc/net/gethostbyname.3
index 8a624e90cbdc..04a055ea3b1c 100644
--- a/lib/libc/net/gethostbyname.3
+++ b/lib/libc/net/gethostbyname.3
@@ -114,9 +114,7 @@ argument specifies the address family
 etc.) of this address.
 .Pp
 The structure returned contains either the information obtained from the name
-server,
-.Xr named 8 ,
-broken-out fields from a line in
+server, broken-out fields from a line in
 .Pa /etc/hosts ,
 or database entries supplied by the
 .Xr yp 8
@@ -301,8 +299,7 @@ for example, a mail-forwarder may be registered for this domain.
 .Xr inet_aton 3 ,
 .Xr resolver 3 ,
 .Xr hosts 5 ,
-.Xr hostname 7 ,
-.Xr named 8
+.Xr hostname 7
 .Sh HISTORY
 The
 .Fn herror
diff --git a/lib/libc/net/getipnodebyname.3 b/lib/libc/net/getipnodebyname.3
index 3af6ea21bcff..138d048ff8c6 100644
--- a/lib/libc/net/getipnodebyname.3
+++ b/lib/libc/net/getipnodebyname.3
@@ -430,8 +430,7 @@ The meanings of each error code are described in
 .Xr hosts 5 ,
 .Xr nsswitch.conf 5 ,
 .Xr services 5 ,
-.Xr hostname 7 ,
-.Xr named 8
+.Xr hostname 7
 .Pp
 .Rs
 .%A R. Gilligan
diff --git a/lib/libc/net/getnameinfo.3 b/lib/libc/net/getnameinfo.3
index 5d5719c010c7..b72b1c1e6545 100644
--- a/lib/libc/net/getnameinfo.3
+++ b/lib/libc/net/getnameinfo.3
@@ -212,8 +212,7 @@ printf("host=%s\en", hbuf);
 .Xr hosts 5 ,
 .Xr resolv.conf 5 ,
 .Xr services 5 ,
-.Xr hostname 7 ,
-.Xr named 8
+.Xr hostname 7
 .Rs
 .%A R. Gilligan
 .%A S. Thomson
diff --git a/lib/libc/net/getnetent.3 b/lib/libc/net/getnetent.3
index adf2760d132f..9fea2f391eff 100644
--- a/lib/libc/net/getnetent.3
+++ b/lib/libc/net/getnetent.3
@@ -62,9 +62,7 @@ functions
 each return a pointer to an object with the
 following structure describing an internet network.
 This structure contains either the information obtained
-from the nameserver,
-.Xr named 8 ,
-broken-out fields of a line in the network data base
+from the nameserver, broken-out fields of a line in the network data base
 .Pa /etc/networks ,
 or entries supplied by the
 .Xr yp 8
diff --git a/lib/libc/net/hesiod.3 b/lib/libc/net/hesiod.3
index bae4e4419f82..4b2624ebf7f8 100644
--- a/lib/libc/net/hesiod.3
+++ b/lib/libc/net/hesiod.3
@@ -154,8 +154,7 @@ argument had a domain extension which could not be resolved with type
 in the local Hesiod domain.
 .El
 .Sh SEE ALSO
-.Xr hesiod.conf 5 ,
-.Xr named 8
+.Xr hesiod.conf 5
 .Rs
 .%T "Hesiod - Project Athena Technical Plan -- Name Service"
 .Re
diff --git a/lib/libc/net/resolver.3 b/lib/libc/net/resolver.3
index 684f2e8d98fc..4f1269e993bb 100644
--- a/lib/libc/net/resolver.3
+++ b/lib/libc/net/resolver.3
@@ -443,8 +443,7 @@ see
 .Sh SEE ALSO
 .Xr gethostbyname 3 ,
 .Xr resolver 5 ,
-.Xr hostname 7 ,
-.Xr named 8
+.Xr hostname 7
 .Pp
 .%T RFC1032 ,
 .%T RFC1033 ,
diff --git a/sbin/routed/routed.8 b/sbin/routed/routed.8
index 63f8f4da66ed..530b2b6c5cc8 100644
--- a/sbin/routed/routed.8
+++ b/sbin/routed/routed.8
@@ -488,10 +488,9 @@ specified in "dot" notation (see
 .Pa /etc/networks
 or
 .Pa /etc/hosts ,
-or
-.Xr named 8 ,
-must have been started before
-.Nm . )
+or a method in
+.Xr nsswitch.conf 5
+must be able to resolve it.)
 .Pp
 .Ar Mask
 is an optional number between 1 and 32 indicating the netmask associated
diff --git a/usr.bin/hesinfo/hesinfo.1 b/usr.bin/hesinfo/hesinfo.1
index 7ab2d35d4a30..80e53245fbab 100644
--- a/usr.bin/hesinfo/hesinfo.1
+++ b/usr.bin/hesinfo/hesinfo.1
@@ -186,8 +186,7 @@ returns a list of printers in a cluster specified by
 .It Pa /etc/hesiod.conf
 .El
 .Sh SEE ALSO
-.Xr hesiod 3 ,
-.Xr named 8
+.Xr hesiod 3
 .Rs
 .%T "Hesiod - Project Athena Technical Plan -- Name Service"
 .Re
diff --git a/usr.sbin/jail/jail.8 b/usr.sbin/jail/jail.8
index 28c1b45d9d38..c1eee3226593 100644
--- a/usr.sbin/jail/jail.8
+++ b/usr.sbin/jail/jail.8
@@ -1022,11 +1022,6 @@ To configure
 it is necessary to modify
 .Pa /etc/mail/sendmail.cf .
 .Pp
-For
-.Xr named 8 ,
-it is necessary to modify
-.Pa /etc/namedb/named.conf .
-.Pp
 In addition, a number of services must be recompiled in order to run
 them in the host environment.
 This includes most applications providing services using
@@ -1364,7 +1359,6 @@ environment of the first jail.
 .Xr jexec 8 ,
 .Xr jls 8 ,
 .Xr mount 8 ,
-.Xr named 8 ,
 .Xr reboot 8 ,
 .Xr rpcbind 8 ,
 .Xr sendmail 8 ,
diff --git a/usr.sbin/ppp/ppp.8 b/usr.sbin/ppp/ppp.8
index 02819b1b3578..a015dd245544 100644
--- a/usr.sbin/ppp/ppp.8
+++ b/usr.sbin/ppp/ppp.8
@@ -500,10 +500,7 @@ after altering
 Although not strictly relevant to
 .Nm Ns No 's
 operation, you should configure your resolver so that it works correctly.
-This can be done by configuring a local DNS
-(using
-.Xr named 8 )
-or by adding the correct
+This can be done by configuring a local DNS resolver or by adding the correct
 .Sq nameserver
 lines to the file
 .Pa /etc/resolv.conf .
@@ -6066,7 +6063,6 @@ This socket is used to pass links between different instances of
 .Xr getty 8 ,
 .Xr inetd 8 ,
 .Xr init 8 ,
-.Xr named 8 ,
 .Xr ping 8 ,
 .Xr pppctl 8 ,
 .Xr pppoed 8 ,