+
+nameservers += hosterinfo['nameservers'] if hosterinfo['nameservers']
+searchpaths += hosterinfo['searchpaths'] if hosterinfo['searchpaths']
+options += hosterinfo['resolvoptions'] if hosterinfo['resolvoptions']
+
+searchpaths << "debian.org"
+
+if nameservers.empty?
+ raise Puppet::ParseError, "Something has gone wrong writing resolv.conf: probably included for wrong hoster"