modify demo for dns