Create the dns provider
After you have created you php class for the dns provider, you have to create a database migration to add the provider to you database.
The Migration should look like the following:
<?php
use App\Framework\Core\Hosting\Ipam\DnsProvider\cloudflare;
use App\Framework\Core\Hosting\Ipam\Models\IpamRdns;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\Schema;
return new class extends Migration {
public function up() {
IpamRdns::create([
"name" => "cloudflare",
"handler" => cloudflare::class
]);
}
public function down() {
}
};Was this helpful?