Code Monkey home page Code Monkey logo

bitcoinz-seeder's Introduction

Requirements

  • Low end VPS running Ubuntu 16.04
  • Domain name with ability to add an NS, A Records

A. Prepare domain name (DNS)

For this example we will use example domain 'example.com'

Step 1

Create a 'seeder1' sub-domain NS record in DNS.

Example: seeder1.example.com NS record pointed to vps1.example.com

Step 2

Create a 'vps1' sub-domain A record in DNS

Example: vps1.example.com A record pointed to YOUR_VPS_IP_ADDRESS_HERE

Step 3

Provide your sub-domain name created in Step 1 to BitcoinZ Team to update seeder code and wait until update is completed.

B. Install and Compile BitcoinZ seeder

Step 1 - prepare linux environment from root, enter following commands

apt-get update apt-get install build-essential libboost-all-dev libssl-dev

Step 2 - create port forwarding with IP tables

iptables -t nat -A PREROUTING -p udp --dport 53 -j REDIRECT --to-port 5353

Step 2 - create 'seeder' user from root and switch to seeder user

useradd -m -s /bin/bash seeder

su seeder

cd ~

Step 3 - download and build the seeder from source

git clone https://github.com/btcz/bitcoinz-seeder.git

make

Step 4 - create screen and run seeder

screen -S seeder

./dnsseed -p 5353 -h seeder1.example.com -n vps1.example.com -m [email protected]

Detach from screen with CTRL A+D

Re-attach to screen with screen -r seeder

Troubleshooting & Testing
  • If you have a firewall on your VPS, you need to make sure you allow connections for UDP port 53 for IPv4 and IPv6 (if enabled)
  • You may need to wait a short time for the DNS records to update globally

You can test if your seeder is responding with node IPs type typing:

dig seeder1.example.com A

  • If you decided to run Ubuntu 18.04+ you might need to turn off systemd-resolved from root by entering the following commands:
sudo systemctl disable systemd-resolved
sudo systemctl stop systemd-resolved

bitcoinz-seeder's People

Contributors

sipa avatar luke-jr avatar cryptorex avatar jonasschnelli avatar petertodd avatar nickrhill avatar r000n avatar recursive-rat4 avatar renuzit avatar marcelusch avatar sickpig avatar c-otto avatar martindale avatar erkmos avatar laanwj avatar uhliksk 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.