...
- Navigate into the directory
/modules/registrars/smartnic/
Create the file customdnsfile
customdns.php
with following content:Code Block language php linenumbers true <?php function smartnic_customDNS ($params) { return array ( array ('hostname' => '@', 'type' => 'a', 'address' => '5.4.3.2', 'aux' => '', 'ttl' => '300'), array ('hostname' => 'www', 'type' => 'a', 'address' => '5.4.3.2', 'aux' => '', 'ttl' => '300'), array ('hostname' => '@', 'type' => 'MX', 'address' => 'mail.example.org', 'aux' => '1', 'ttl' => '300'), ); }
Of course you have to adjust the array according to your wishes. AUX stands for the priority of the record, which only plays a role for MX and SRV records.
...