Simple resolv.conf class with template