Feature request: Support A, AAAA, CNAME, SRV, MX, NS, CAA, NULL record types for tunneling
Some resolvers filtering TXT record type, and for such a case other record types support is necessary. And it would be desirable for the record type to be configurable, such as compression type, so that the client has a choice of which record type to use.
@masterking32
Hi.
Since the iran switched from intranet to filternet and now masterdns may not be used like before, I think actually these times are best to improve projects like masterdns. We should prepare for what is coming.
In another issue I think i read that your team does not have any plan to develope this program any further. I hope you guys continue and add support for other dns record types. This will result:
Different DNS Record Types * Multiple Domains * Many Resolvers = Much more combinations that includes resolvers which were rejected for not supporting TXT.
Thanks for all the efforts by you and your team.
سلام، چند دامنه و تعداد چندین ریزالور همینجوریش داخل پروژه پشتیبانی میشه. برخی از این تایپ ها اصلا مناسب انتقال اطلاعات نیستن و نهایتا هر Query بتونه 1-5 باید دیتا جابجا کنه، عملا با قطع بودن فرقی ندارن شاید مثلا بعضی گزینه ها رو بشه آورد ولی مثلا A و .... کلا اوکی نیست.
masterdns already support that Multiple Domain * Multiple Resolvers yes, and i am using it even now when most people don't, but about your stance on A type, it seems when the situation gets severe, only that will be able to transfer data at rates around 20KBps, Loading telegram texts was all I needed in those hard times.
About other types, I have tested cname, mx and srv with Vaydns, worked very good. Although the perfect type is TXT.
A and AAAA i think are for times when better record types for transferring data are blocked.
The proof is https://github.com/patterniha/QQ-Tunnel which i was able to use in times when other methods did not work, although it was my luck too, already having two VPS before 28th February, since qq needs two vps.
These, with the early starting of the tunnel and local socks on let's say first 10 valid resolvers, are really some needed features for this program.
Thanks again for all the efforts on MHRV and MDV.
@masterking32 درود، من فکر کنم ایده سرور رله اضافه هست. با توجه به اینکه برنامه شما از کلید خود مستر برای رمزنگاری استفاده میکنه، و همین الان هم ارایه دامنه ساپورت میکنه، در نتیجه، اگر چند دامنه رو رکوردهای A و NSش رو برای یک ایپی سرور دیگری تنظیم کنیم، بعد در اون سرور، دستورات زیر رو بزنیم:
iptables -t nat -A PREROUTING -i eth0 -p udp --dport 53 -j DNAT --to-destination VPS1_IP:53
iptables -t nat -A POSTROUTING -o eth0 -p udp --dport 53 -j MASQUERADE
بررسی اضافه شدن رولها و یا دایمی کردنشون
iptables -t nat -L -n -v | grep -A 2 "PREROUTING\|POSTROUTING"
apt-get install iptables-persistent
netfilter-persistent save
cat /etc/iptables/rules.v4 | grep -A 5 "PREROUTING\|POSTROUTING"
و در سمت سرور اون دامنه های سرور رله رو هم تعریف کرده باشیم، پس اینطور هرچی روی ۵۳ سرور رله بیاد، خودش مسک میکنه و میفرسته سمت پورت ۵۳ سرور اصلی ، و اتصال برقرار میشه. اگر جایی رو اشتباه کردم اشاره کنید. خودم منتظر انتشار رکوردها هستم بعدش این رو تست میکنم نتیجه رو میگم.