nss-mymachines(8) - phpMan

Command: man perldoc info search(apropos)  


NSS-MYMACHINES(8)                         nss-mymachines                        NSS-MYMACHINES(8)



NAME
       nss-mymachines, libnss_mymachines.so.2 - Provide hostname resolution for local container
       instances.

SYNOPSIS
       libnss_mymachines.so.2

DESCRIPTION
       nss-mymachines is a plugin for the GNU Name Service Switch (NSS) functionality of the GNU
       C Library (glibc) providing hostname resolution for containers running locally, that are
       registered with systemd-machined.service(8). The container names are resolved to IP
       addresses of the specific container, ordered by their scope.

       To activate the NSS modules, "mymachines" has to be added to the line starting with
       "hosts:" in /etc/nsswitch.conf.

       It is recommended to place "mymachines" near the end of the nsswitch.conf line to make
       sure that this mapping is only used as fallback, and any DNS or /etc/hosts based mapping
       takes precedence.

EXAMPLE
       Here's an example /etc/nsswitch.conf file, that enables mymachines correctly:

           passwd:   compat
           group:    compat
           shadow:   compat

           hosts:    files dns mymachines myhostname
           networks:       files

           protocols:      db files
           services:       db files
           ethers:   db files
           rpc:      db files

           netgroup:       nis

SEE ALSO
       systemd(1), systemd-machined.service(8), nss-myhostname(8), nsswitch.conf(5), getent(1)



systemd 219                                                                     NSS-MYMACHINES(8)

Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache/2.4.6 (CentOS)
Under GNU General Public License
2024-11-23 15:18 @127.0.0.1 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0!Valid CSS!