Emit insert domain when running without named.conf

Fixes #686
Merge pull request #827 from cyclops1982/686

Emit insert domain when running without named.conf