Added support for dns-parameter. Updated libraries.