Changes to adopt to new smack DNS interface