(866) 366-3640 - support@sagonet.com
Sago Logo
Banner



   
Log in / create account Article Discussion History Go to the site toolbox
Setting up your own DNS in Plesk

This tutorial will show you how to make DNS changes in Plesk


Click on ‘DNS’. You can see all the DNS zones that have been automatically created in Plesk

Select ‘Zone setting’. This page allows you to adjust the default TTL (time to live) for all DNS records and the following SOA record parameters for the current domain.

The refresh interval parameter defines the amount of time that should pass from the moment when a secondary name server gets a copy of the zone (or see that it hasn't changed) before it checks to see if it needs a new copy

The Retry Interval parameter defines the amount of time that the primary name server should wait, if an attempt to refresh failed, before making another attempt to refresh.

The Expire Interval parameter defines the amount of time that lets secondary name server know how long they can hold the information before it is no longer considered authoritative.

The Minimum TTL parameter defines the amount of time that the records in the zone are valid for (time-to-live, or TTL), unless the records have a higher TTL value.

To edit the DNS zone setting for the current domain, type desired values into each input field and select appropriate time corresponding drop-down lists. Then click the set button.

Select Transfer Restrictions. This page is designed for managing the common access control list (ACL) that contains all hosts to which DNS zone transfers are allowed. To add an entry to the list in the IP address/mask input fields enter the ip address or the network address selecting the appropriate subnet mask from the drop-down list to the list to the left of the input input fields and click Add Network

Note: DNS is a complicated issue. Be sure you know what you are doing before you edit any setting - otherwise you could compromise your site's connectivity.


---

Another way: The default Plesk DNS template, located under Server/Services/DNS, is used to create the zone files for all domains which are added to your account. However, it's initial configuration is not what is normally seen for a zone file. Therefore, it is suggested to follow the steps below to modify the template.

1. The first step is to determine what the name of your primary and secondary name servers will be. Convention uses the subdomains ns1 and ns2 as the name servers. For this example, our name servers will be ns1.mydomain.com and ns2.mydomain.com.

2. Secondly, access the DNS template by selecting Server from the left frame under system, and then select DNS under services in the right frame.

3. The template that appears has 2 entries which need to be removed:

3a. The NS record: "<domain>. NS ns.<domain>."

3b. The corresponding A record: "ns.<domain>. A <ip>"

4. These fields are removed by checking the box on the entries line and select "Remove Selected". On the next screen confirm the deletion.

5. Now 2 entries for the primary and secondary name servers need to be added. This is accomplished under the "Add a DNS record" section.

5a. From the drop-down menu, select NS as the record type and click on the button.

5b. On the next screen, leave the domain name field blank and enter "ns1.mydomain.com" into the name server field, then click ok.

5c. Repeat this for the "ns2.mydomain.com" entry.

6. The final step is to specify the IPs for these subdomains.

6a. Add "mydomain.com" as a domain to your Plesk account through the Domains screen under General in the left frame.

6b. After adding "mydomain.com", click on the domain name and then select DNS from the following screen to edit the zone file.

6c. The DNS screen will look similar to the template screen.

6d. From the "Add a DNS record" section, select "A" as the record tyep adn click on "Add".

6e. Enter "ns1" in the domain name text box.

6f. Enter one of your IPs as the IP address and click "OK".

6g. Repeat for "ns2" using a different IP address.

That's it. All future domains will have the new configuration as their zone file. If you have already added domains, they can be converted to the new template by clicking on the "Default" button on the domains DNS page under "Restoring the DNS zone by the template".

You will now want to register the two domains, ns1.mydomain.com and ns2.mydomain.com, as name servers with your registrar. Once they are registered, you'll then want to have the domains you will be hosting point to them.