Setting up your BIND zone
Although a web interface is not yet available to create and edit a BIND zone, you will always be able to manually edit your zonefiles over SSH.
Start by SSHing using the "magic port" into the primary DNS server — loon
. Within your home directory, you will have a folder labeled bind
that contains one file — named.conf
. Inside of it, add the following :
zone "YOURDOMAIN.TLD" in {
type master;
file "/home/YOURUSER/bind/zones/YOURDOMAIN.TLD";
allow-transfer { trusted; };
};
Once you've modified your personal config, create the file YOURDOMAIN.TLD
file and add the following :
$ORIGIN YOURDOMAIN.TLD.
$TTL 1h
@ IN SOA loon.birb.fr matt.birb.fr ( DATE00 1d 2h 4w 1h )
@ IN NS loon.birb.fr
@ IN NS quetzal.birb.fr
...
You can add any records that BIND supports after the nameservers.