add domain field into .cfg template
more info in event.log