Closed lixiaolong2007 closed 1 year ago
I'm not sure if needing a web gui to manage the DNS records is really needed. If you already have adgaurd as a container somewhere else for your entire network then it would be simple enough to add the proper DNS entries for the minecraft IP's on that instance. bind9 is only there to provide the minecraft IP's and that is it. There wouldn't be any need to configure bind9 any further than that.
In fact, it is not difficult for linux users to learn and configure bind9, but if you are based on arm or mips architecture cpu, adguardhome's advantage is clear that its cross-platform support is excellent
Having an OpenWRT-based router and a public ip address can still provide dns resolution when you're out and about, and you don't have to leave your computer on 24 hours a day
The above content is based on Baidu translation, I am a Chinese high school student, my English is not good
Again, the reason we use bind9 is ONLY to serve DNS if someone doesn’t already have a DNS server or want to configure one. It’s not to be used to be configured any further than that. If you already have a DNS server then all you need to do is add the Minecraft IPs to the proper DNS name. If you rather use adguard then you can standup your own instance and configure it as needed.
BIND9 is used typically for the reasons @xTITUSMAXIMUSX stated, but any DNS solution will really do if it works better for you. So thank you for posting this, for those that might prefer to use this method. Closing this for now, but I'll add a link directing to this in the wiki: https://github.com/Pugmatt/BedrockConnect/wiki/Other-Guides
Thanks for showing me how to do the rewrites in adguard and I appreciate it Very much!! This helps me get a step in the right direction at getting mine setup correctly.
优势
1、Bind9没有web或者gui进行管理,而Adguardhome具有web且十分的干净易于理解 2、AdGuardhome对于不同linux发行版与不同的cpu架构支持良好 3、Adguardhome是开源的(https://github.com/AdguardTeam/AdGuardHome)
设备
这里我使用的是在网上购买的具有公网ip基于centos操作系统的云主机![网页捕获_22-6-2023_222656_starxn com](https://github.com/Pugmatt/BedrockConnect/assets/93075973/bb920872-5a12-41a6-97e5-d0490687949c)
安装Adguardhome和java
java:
Ubuntu: sudo apt install openjdk-8-jre-headless CentOS: sudo yum install java-1.8.0-openjdk
Adguardhome:
这里官方提供了三种安装方法
这里的ip有公网就用公网,非公网也行就是在外不能使用![网页捕获_22-6-2023_224841_103 228 170 146](https://github.com/Pugmatt/BedrockConnect/assets/93075973/e50168b4-8e25-450d-9451-66629529204d)
最后一步
从Releases中下载BedrockConnect-1.0-SNAPSHOT.jar并运行 如像我一样使用的是云主机可使用nohup命令守护进程