added configurable flavor and setup for DNS