GithubHelp home page GithubHelp logo

minecraft-dnsrotator's Introduction

minecraft-dnsrotator

Minecraft TXT TCP rotator. This script will check one domain and, if _minecraft._tcp.DOMAIN is blocked, it will change that SRV content.

Language:

Shell script

Operate systems:

*nix systems.

Features:

  • Change Dns TXT records on cloudflare
  • Verify if subdomain is blocked

What we not support yet

  • Multiple _minecraft._tcp.DOMAIN records
  • Multiple domains as parameters of this script

Features that we want ASAP

  • no-ip / DDNS integration to create and remove subdomains automatically

Software requirements:

Ubuntu and Debian based systems:

apt update
apt -y install jq

Centos and Redhat based systems:

yum install epel-release
yum install jq

How to use

  1. Clone this git.
git clone https://github.com/franciscopaniskaseker/minecraft-dnsrotator.git
# or
git clone [email protected]:franciscopaniskaseker/minecraft-dnsrotator.git
  1. Install, as root, this script.
cd minecraft-dnsrotator
bash install.sh
  1. 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
  1. 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
  1. Type "minecraft-dnsrotator.sh domain.com" to execute block check and eventually SRV record update.

How to update your Minecraft DNS Rotator script

  1. Update your git
  2. bash update.sh

Do you need any help with Minecraft Server Linux Sysadmin? DDoS attacks? Backups? We can talk ;)

  1. mail: apterix at gmail dot com
  2. skype: apterix

minecraft-dnsrotator's People

Contributors

franciscopaniskaseker avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.