set ttl in plesk 7.5 reloaded

Posted on 2008-11-07
Last Modified: 2012-05-05
Need to know how to change ttl for single domain in Plesk 7.5 reloaded so we can migrate it to a new server. I do not want to change ttl for all domains on this server. All help appreciated.

Question by:tech1984
    LVL 6

    Expert Comment

    LVL 3

    Accepted Solution

    You can verify DNS TTL settings by with nslookup by typing set debug from within nslookup. You will then be able to see the TTL settings when you query a domain name.

    Option 1 (the  best as far as I can tell)
    You can edit the individual dns files for each domain here: /var/named/run-root/var/
    after that you will need to run /etc/init.d/named reload

    Option 2
    from this web site:

    You can set the default TTL by running this statement on the PSA database:
    INSERT INTO misc VALUES ('SOA_TTL','86400');

    This will change the default setting that will used for all new domains created in PLESK.
    In order to recreate the named configuration files with the new default, you need to run this command:
    /usr/local/psa/admin/sbin/dnsmng update

    If you would like to change the all the domains to the new default TTL you can run this line, which will run the above command on every domain:
    mysql -Ns -uadmin -p`cat /etc/psa/.psa.shadow` -D psa -e 'select name from domains' | awk '{print "/usr/local/psa/admin/sbin/dnsmng update " $1 }' | sh


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Suggested Solutions

    This article explains how a domain name may be inadvertently appended to all DNS queries. This exhibits as described below. (CODE)And / Or: (CODE) Cause This issue can occur in either of these two scenarios. EITHER 1. A Primary DNS S…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now