(gh-470) refactoring natdns to use the unless syntax