Adding method to make DnsServer class more Spring DI friendly.