Added support for different DNS-settings