Fix type error in DNS structure, add godocs
Add domains acceptance tests.