DNS Reverse Proxy

I have a server with a single IPv4 and I want to run two DNS servers:

  • one to serve zones like stalkr.net - if you recall, I like PowerDNS;
  • another one for tunneling - I like dns2tcp (TCP level), another good one is iodine (IP level).

Problem: I looked a bit but none of the DNS server software I've seen support forwarding queries that aren't for them to another server. Basically what I need is a reverse proxy that looks at the DNS query, and route it based on the name. It's the same as an HTTP reverse proxy that looks at the Host field to proxy the request to another server. I tried to hack with resolvers and stub/forward zones but it didn't work.


So this is an awsome dns-reverse-proxy in just a few lines of Go, using a fully featured DNS library. It's running smoothly, if you have the same need feel free to use it!

要查看或添加评论,请登录

soufiane Boussali的更多文章

  • CVE-2019-6467 (nxdomain-redirect)

    CVE-2019-6467 (nxdomain-redirect)

    A flaw was found in the way "nxdomain-redirect" feature was implemented in bind. An attacker could use this flaw on a…

  • Reverse Engineering Resources

    Reverse Engineering Resources

    Debugging These are very important guides for understanding the debugging process and how applications work. Mac OS X…

  • USB rescue and secure boot disk.

    USB rescue and secure boot disk.

    I think it's always good to carry a rescue operating system, like Ultimate Boot CD for Linux or UBCD for Windows…

  • Creating Burp extensions in Python, the "editor" case

    Creating Burp extensions in Python, the "editor" case

    Surely you've heard of the Burp Suite, quite useful software to perform security testing of web applications and in…

  • Hack The Box – InviteCode Writeup

    Hack The Box – InviteCode Writeup

    How to Access ? Hackthebox.eu doesn’t allow you to register.

社区洞察

其他会员也浏览了