Plesk Linux – create a manual DNS zone file

Not recommended – but if you have to then it works and this is how you do it:

(eg: you could host some dns entries for a domain that doesn’t exist in plesk)

add this code to the /etc/named.conf file:

zone "" {
 type master;
 file "";
 allow-transfer {;

create a new file called /var/named/run-root/var/ that contains this code:

; *** This file is generated by me! ***
$TTL 86400
@ IN SOA (
 1304486437 ; Serial
 10800 ; Refresh
 3600 ; Retry
 604800 ; Expire
 10800 ) ; Minimum IN NS IN NS IN A IN CNAME IN TXT "v=spf1 a mx -all"

then restart bind, like

sudo service bind9 restart

Leave a Reply

Your email address will not be published.