Make enabling mdns in /etc/nsswitch.conf preseedable
Binary package hint: libnss-mdns
libnss-mdns is a recommends of ubuntu-desktop, which mean it is installed by default in most case. His postinst script unconditionally edit /etc/nsswitch.conf and insert itself in the host entry.
Under certain circumstances, such as when installing a machine that is to reside in a network with a unicast .local DNS domain, it is not desirable to have mdns host name resolution. It would good if whether to edit /etc/nsswitch.conf would be preseedable, so that we can avoid the inconvenience of fixing the situation post-installation. A boolean debconf template such as libnss-
Either that, or automatically turning off the avahi daemon when on a network with a unicast .local domain (as describe in libnss-mdns README.Debian), would be good solution.
Thanks for your consideration.