Extract resolv.conf template to templates/