DNS sniffer and injector