Nss-mymachines is a plugin for the gnu name service switch (nss) functionality of the gnu c library (glibc) providing hostname resolution for local containers that are registered with systemd-machined.service(8). the container names are resolved to ip addresses of the specific container, ordered by their scope.
installing this package automatically adds mymachines to /etc/nsswitch.conf.