Minecraft TXT TCP rotator. This script will check one domain and, if _minecraft._tcp.DOMAIN is blocked, it will change that SRV content.
Shell script
*nix systems.
- Change Dns TXT records on cloudflare
- Verify if subdomain is blocked
- Multiple _minecraft._tcp.DOMAIN records
- Multiple domains as parameters of this script
- no-ip / DDNS integration to create and remove subdomains automatically
Ubuntu and Debian based systems:
apt update
apt -y install jq
Centos and Redhat based systems:
yum install epel-release
yum install jq
- Clone this git.
git clone https://github.com/franciscopaniskaseker/minecraft-dnsrotator.git
# or
git clone [email protected]:franciscopaniskaseker/minecraft-dnsrotator.git
- Install, as root, this script.
cd minecraft-dnsrotator
bash install.sh
- Edit "/etc/minecraftdnsrotator/conf/credentials-cloudflare.conf" and insert your Cloudflare credentials. "#" is only used to comment lines. Do not write any spaces.
# add credentials (auth key), e-mail (auth) and domains separated with semicolon without spaces
# example:
# 09je0923j9032je90dadsadasdasadasdds32je90;[email protected];domain.com
- Edit "/etc/minecraftdnsrotator/conf/domains-unused.conf" and insert domains that will be used in the future. "#" is only used to comment lines. Do not write any spaces.
# add unused subdomains and set which domain will be used separated with semicolon without spaces
# example:
# 12345.ddns.net;mc.domain.com
# 67890.ddns.net;mc.domain.com
# 13579.ddns.net;play.domain.com
# 24680.ddns.net;play.domain.com
- Type "minecraft-dnsrotator.sh domain.com" to execute block check and eventually SRV record update.
- Update your git
- bash update.sh
- mail: apterix at gmail dot com
- skype: apterix