diff --git a/factory/etc/nsswitch.conf b/factory/etc/nsswitch.conf
index 5f2984e77f..5470993e34 100644
--- a/factory/etc/nsswitch.conf
+++ b/factory/etc/nsswitch.conf
@@ -1,6 +1,15 @@
# This file is part of systemd.
-passwd: files
-shadow: files
-group: files
-hosts: files mymachines resolve myhostname
+passwd: compat mymachines systemd
+group: compat mymachines systemd
+shadow: compat
+
+hosts: files mymachines resolve [!UNAVAIL=return] dns myhostname
+networks: files
+
+protocols: db files
+services: db files
+ethers: db files
+rpc: db files
+
+netgroup: nis
diff --git a/man/nss-myhostname.xml b/man/nss-myhostname.xml
index 18a6f5f665..e447420f53 100644
--- a/man/nss-myhostname.xml
+++ b/man/nss-myhostname.xml
@@ -81,6 +81,7 @@
Here is an example /etc/nsswitch.conf file that enables
nss-myhostname correctly:
+
passwd: compat mymachines systemd
group: compat mymachines systemd
shadow: compat
diff --git a/man/nss-mymachines.xml b/man/nss-mymachines.xml
index d9811b24cc..a0a0f99684 100644
--- a/man/nss-mymachines.xml
+++ b/man/nss-mymachines.xml
@@ -58,6 +58,7 @@
Here is an example /etc/nsswitch.conf file that enables
nss-mymachines correctly:
+
passwd: compat mymachines systemd
group: compat mymachines systemd
shadow: compat
diff --git a/man/nss-resolve.xml b/man/nss-resolve.xml
index d747e0b1e5..960d580003 100644
--- a/man/nss-resolve.xml
+++ b/man/nss-resolve.xml
@@ -64,6 +64,7 @@
Here is an example /etc/nsswitch.conf file that enables nss-resolve
correctly:
+
passwd: compat mymachines systemd
group: compat mymachines systemd
shadow: compat
diff --git a/man/nss-systemd.xml b/man/nss-systemd.xml
index 323f9ab868..d3d68437de 100644
--- a/man/nss-systemd.xml
+++ b/man/nss-systemd.xml
@@ -55,6 +55,7 @@
Here is an example /etc/nsswitch.conf file that enables
nss-systemd correctly:
+
passwd: compat mymachines systemd
group: compat mymachines systemd
shadow: compat