fix reading dns domain from config file