Generate hosts and resolv.conf files different depending on whether PLC_DNS_ENABLED=1.