Add SnoopDns
Fix some bugs