It reads a file called dnsseed.dump in the nubits-seeder root directory, which is continuously created when nubits-seeder is crawling for nodes. It will generate a IP-table from the dnseed.dump file and pushes this table to a Cloudflare (CF) enabled domain of your choice over the Cloudflare API.
Edit cf-php/cf.php file
open cf.php in an editor of your choice
and fill in
$name = “nuseed”; //subdomain e.g. name.domain.com
$number_of_records = 10; //maximum n A records with $name…
$user = “emailofcloudflareaccount”; //user name
$key = “yourapikey”; //key for cloudflare api found in account settings
$seed_dump = “/path/to/dnsseed.dump”; //absolute path to dnsseed.dump in the nubits-seeder root directory
accordingly. (The number_of_records in the table displayed above is “10” and I think that’s a good number.)
4. Have a cronjob run cf-php regularly
Hello, I have been trying to get a DNS Seeder set up and was wondering what type of account is needed on Cloudflare. Are you using the free or pro ($20) account or did you have to go with the higher option to be able to use custom name servers? What are the initial records you added to the zone after the domain is added?
Alter the values mentioned in step 3 and the software should do it automatically.
You don’t have to do anything on CloudFlare by hand, besides getting your API key.
Provided your domain is already using the CloudFlare DNS servers of course. You will keep using them.
If you don’t change “name”, this will result in nuseed.yourdomain.com, which will have the number of A records you chose, like this:
One subdomain can have more than one IP address in its A records.