Nss-resolve is a plugin for the gnu name service switch (nss) functionality of the gnu c library (glibc) providing dns and llmnr resolution to programs via the systemd-resolved daemon (provided in the systemd package).
installing this package automatically adds resolve to /etc/nsswitch.conf.