{"id":2063,"date":"2019-02-18T17:00:09","date_gmt":"2019-02-18T16:00:09","guid":{"rendered":"http:\/\/labalec.fr\/erwan\/?p=2063"},"modified":"2019-02-18T20:45:04","modified_gmt":"2019-02-18T19:45:04","slug":"a-lightweigth-dns-server","status":"publish","type":"post","link":"https:\/\/labalec.fr\/erwan\/?p=2063","title":{"rendered":"A lightweigth DNS server"},"content":{"rendered":"<p>Playing around with intercepting traffic (diverting, mitm, etc), I needed a standalone DNS server.<\/p>\n<p>Sharing it <a href=\"https:\/\/erwan.labalec.fr\/other\/dnssrv.zip\" rel=\"noopener\" target=\"_blank\">here<\/a>.<\/p>\n<p>You can use the local windows resolver OR use dnsquery which then allows you to choose between UDP\/TCP and remote DNS server.<br \/>\nRemote dns server has to be set in the config.ini file (see included ini file).<br \/>\nStill via the config.ini, you also \u00ab\u00a0spoof\u00a0\u00bb A or PTR records (example : have www.facebook.com resolve to 127.0.0.1).<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/zSqyGvy.png\" alt=\"https:\/\/i.imgur.com\/zSqyGvy.png\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Playing around with intercepting traffic (diverting, mitm, etc), I needed a standalone DNS server. Sharing it here. You can use the local windows resolver OR use dnsquery which then allows you to choose between UDP\/TCP and remote DNS server. Remote dns server has to be set in the config.ini file (see included ini file). Still <a href='https:\/\/labalec.fr\/erwan\/?p=2063' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37,5],"tags":[],"class_list":["post-2063","post","type-post","status-publish","format-standard","hentry","category-delphi","category-network","category-37-id","category-5-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/2063","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2063"}],"version-history":[{"count":2,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/2063\/revisions"}],"predecessor-version":[{"id":2080,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/2063\/revisions\/2080"}],"wp:attachment":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2063"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2063"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2063"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}