adding testing code for new dns lookup