| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:33+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 21 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "NSS-MYHOSTNAME" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux |
| 28 |
#, no-wrap |
| 29 |
msgid "systemd 260.2" |
| 30 |
msgstr "" |
| 31 |
|
| 32 |
#. type: TH |
| 33 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 34 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 35 |
#, no-wrap |
| 36 |
msgid "nss-myhostname" |
| 37 |
msgstr "" |
| 38 |
|
| 39 |
#. ----------------------------------------------------------------- |
| 40 |
#. * MAIN CONTENT STARTS HERE * |
| 41 |
#. ----------------------------------------------------------------- |
| 42 |
#. type: SH |
| 43 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 44 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 45 |
#, no-wrap |
| 46 |
msgid "NAME" |
| 47 |
msgstr "" |
| 48 |
|
| 49 |
#. type: Plain text |
| 50 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 51 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 52 |
msgid "" |
| 53 |
"nss-myhostname, libnss_myhostname.so.2 - Hostname resolution for the locally " |
| 54 |
"configured system hostname" |
| 55 |
msgstr "" |
| 56 |
|
| 57 |
#. type: SH |
| 58 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 59 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 60 |
#, no-wrap |
| 61 |
msgid "SYNOPSIS" |
| 62 |
msgstr "" |
| 63 |
|
| 64 |
#. type: Plain text |
| 65 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 66 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 67 |
msgid "libnss_myhostname\\&.so\\&.2" |
| 68 |
msgstr "" |
| 69 |
|
| 70 |
#. type: SH |
| 71 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 72 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 73 |
#, no-wrap |
| 74 |
msgid "DESCRIPTION" |
| 75 |
msgstr "" |
| 76 |
|
| 77 |
#. type: Plain text |
| 78 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 79 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 80 |
msgid "" |
| 81 |
"B<nss-myhostname> is a plug-in module for the GNU Name Service Switch (NSS) " |
| 82 |
"functionality of the GNU C Library (B<glibc>), primarily providing hostname " |
| 83 |
"resolution for the locally configured system hostname as returned by " |
| 84 |
"B<gethostname>(2)\\&. The precise hostnames resolved by this module are:" |
| 85 |
msgstr "" |
| 86 |
|
| 87 |
#. type: Plain text |
| 88 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 89 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 90 |
msgid "" |
| 91 |
"The local, configured hostname is resolved to all locally configured IP " |
| 92 |
"addresses ordered by their scope, or \\(em if none are configured \\(em the " |
| 93 |
"IPv4 address 127\\&.0\\&.0\\&.2 (which is on the local loopback) and the " |
| 94 |
"IPv6 address ::1 (which is the local host)\\&." |
| 95 |
msgstr "" |
| 96 |
|
| 97 |
#. type: Plain text |
| 98 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 99 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 100 |
msgid "" |
| 101 |
"The hostnames \"localhost\" and \"localhost\\&.localdomain\" (as well as any " |
| 102 |
"hostname ending in \"\\&.localhost\" or \"\\&.localhost\\&.localdomain\") " |
| 103 |
"are resolved to the IP addresses 127\\&.0\\&.0\\&.1 and ::1\\&." |
| 104 |
msgstr "" |
| 105 |
|
| 106 |
#. type: Plain text |
| 107 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 108 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 109 |
msgid "" |
| 110 |
"The hostname \"_gateway\" is resolved to all current default routing gateway " |
| 111 |
"addresses, ordered by their metric\\&. This assigns a stable hostname to the " |
| 112 |
"current gateway, useful for referencing it independently of the current " |
| 113 |
"network configuration state\\&." |
| 114 |
msgstr "" |
| 115 |
|
| 116 |
#. type: Plain text |
| 117 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 118 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 119 |
msgid "" |
| 120 |
"The hostname \"_outbound\" is resolved to the local IPv4 and IPv6 addresses " |
| 121 |
"that are most likely used for communication with other hosts\\&. This is the " |
| 122 |
"preferred source addresses of default gateways if specified, or determined " |
| 123 |
"by requesting a routing decision to the configured default gateways from the " |
| 124 |
"kernel and then using the local IP addresses selected by this decision\\&. " |
| 125 |
"This hostname is only available if there is at least one local default " |
| 126 |
"gateway configured\\&. This assigns a stable hostname to the local outbound " |
| 127 |
"IP addresses, useful for referencing them independently of the current " |
| 128 |
"network configuration state\\&." |
| 129 |
msgstr "" |
| 130 |
|
| 131 |
#. type: Plain text |
| 132 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 133 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 134 |
msgid "" |
| 135 |
"Various software relies on an always-resolvable local hostname\\&. When " |
| 136 |
"using dynamic hostnames, this is traditionally achieved by patching /etc/" |
| 137 |
"hosts at the same time as changing the hostname\\&. This is problematic " |
| 138 |
"since it requires a writable /etc/ file system and is fragile because the " |
| 139 |
"file might be edited by the administrator at the same time\\&. With B<nss-" |
| 140 |
"myhostname> enabled, changing /etc/hosts is unnecessary, and on many " |
| 141 |
"systems, the file becomes entirely optional\\&." |
| 142 |
msgstr "" |
| 143 |
|
| 144 |
#. type: Plain text |
| 145 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 146 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 147 |
msgid "" |
| 148 |
"To activate the NSS modules, add \"myhostname\" to the line starting with " |
| 149 |
"\"hosts:\" in /etc/nsswitch\\&.conf\\&." |
| 150 |
msgstr "" |
| 151 |
|
| 152 |
#. type: Plain text |
| 153 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 154 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 155 |
msgid "" |
| 156 |
"It is recommended to place \"myhostname\" after \"files\" and before " |
| 157 |
"\"dns\"\\&. This resolves well-known hostnames like \"localhost\" and the " |
| 158 |
"machine hostnames locally\\&. It is consistent with the behaviour of B<nss-" |
| 159 |
"resolve>, and still allows overriding via /etc/hosts\\&." |
| 160 |
msgstr "" |
| 161 |
|
| 162 |
#. type: Plain text |
| 163 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 164 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 165 |
msgid "" |
| 166 |
"Please keep in mind that B<nss-myhostname> (and B<nss-resolve>) also resolve " |
| 167 |
"in the other direction \\(em from locally attached IP addresses to " |
| 168 |
"hostnames\\&. If you rely on that lookup being provided by DNS, you might " |
| 169 |
"want to order things differently\\&." |
| 170 |
msgstr "" |
| 171 |
|
| 172 |
#. type: SH |
| 173 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 174 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 175 |
#, no-wrap |
| 176 |
msgid "EXAMPLE" |
| 177 |
msgstr "" |
| 178 |
|
| 179 |
#. type: Plain text |
| 180 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 181 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 182 |
msgid "" |
| 183 |
"Here is an example /etc/nsswitch\\&.conf file that enables B<nss-myhostname> " |
| 184 |
"correctly:" |
| 185 |
msgstr "" |
| 186 |
|
| 187 |
#. type: Plain text |
| 188 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 189 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 190 |
#, no-wrap |
| 191 |
msgid "" |
| 192 |
"passwd: files systemd\n" |
| 193 |
"group: files [SUCCESS=merge] systemd\n" |
| 194 |
"shadow: files systemd\n" |
| 195 |
"gshadow: files systemd\n" |
| 196 |
msgstr "" |
| 197 |
|
| 198 |
#. type: Plain text |
| 199 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 200 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 201 |
#, no-wrap |
| 202 |
msgid "" |
| 203 |
"hosts: mymachines resolve [!UNAVAIL=return] files B<myhostname> dns\n" |
| 204 |
"networks: files\n" |
| 205 |
msgstr "" |
| 206 |
|
| 207 |
#. type: Plain text |
| 208 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 209 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 210 |
#, no-wrap |
| 211 |
msgid "" |
| 212 |
"protocols: db files\n" |
| 213 |
"services: db files\n" |
| 214 |
"ethers: db files\n" |
| 215 |
"rpc: db files\n" |
| 216 |
msgstr "" |
| 217 |
|
| 218 |
#. type: Plain text |
| 219 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 220 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 221 |
#, no-wrap |
| 222 |
msgid "netgroup: nis\n" |
| 223 |
msgstr "" |
| 224 |
|
| 225 |
#. type: Plain text |
| 226 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 227 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 228 |
msgid "To test, use B<glibc>\\*(Aqs B<getent>(1) tool:" |
| 229 |
msgstr "" |
| 230 |
|
| 231 |
#. type: Plain text |
| 232 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 233 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 234 |
#, no-wrap |
| 235 |
msgid "" |
| 236 |
"$ getent ahosts `hostname`\n" |
| 237 |
"::1 STREAM omega\n" |
| 238 |
"::1 DGRAM\n" |
| 239 |
"::1 RAW\n" |
| 240 |
"127\\&.0\\&.0\\&.2 STREAM\n" |
| 241 |
"127\\&.0\\&.0\\&.2 DGRAM\n" |
| 242 |
"127\\&.0\\&.0\\&.2 RAW\n" |
| 243 |
msgstr "" |
| 244 |
|
| 245 |
#. type: Plain text |
| 246 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 247 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 248 |
msgid "In this case, the local hostname is I<omega>\\&." |
| 249 |
msgstr "" |
| 250 |
|
| 251 |
#. type: SH |
| 252 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 253 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 254 |
#, no-wrap |
| 255 |
msgid "SEE ALSO" |
| 256 |
msgstr "" |
| 257 |
|
| 258 |
#. type: Plain text |
| 259 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 260 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 261 |
msgid "" |
| 262 |
"B<systemd>(1), B<nss-systemd>(8), B<nss-resolve>(8), B<nss-mymachines>(8), " |
| 263 |
"B<nsswitch.conf>(5), B<getent>(1)" |
| 264 |
msgstr "" |
| 265 |
|
| 266 |
#. type: TH |
| 267 |
#: debian-trixie opensuse-leap-16-1 |
| 268 |
#, no-wrap |
| 269 |
msgid "systemd 257.13" |
| 270 |
msgstr "" |
| 271 |
|
| 272 |
#. type: TH |
| 273 |
#: debian-unstable |
| 274 |
#, no-wrap |
| 275 |
msgid "systemd 261~rc3" |
| 276 |
msgstr "" |
| 277 |
|
| 278 |
#. type: TH |
| 279 |
#: fedora-44 |
| 280 |
#, no-wrap |
| 281 |
msgid "systemd 259.5" |
| 282 |
msgstr "" |
| 283 |
|
| 284 |
#. type: TH |
| 285 |
#: fedora-rawhide |
| 286 |
#, no-wrap |
| 287 |
msgid "systemd 261~rc2" |
| 288 |
msgstr "" |
| 289 |
|
| 290 |
#. type: TH |
| 291 |
#: opensuse-tumbleweed |
| 292 |
#, no-wrap |
| 293 |
msgid "systemd 260.1" |
| 294 |
msgstr "" |