GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

VPS v2: tts: Check the TTL of a Domain

bullet Introduction

After you modify your Domain Name Service (DNS) information, you will want to have both sites active for a period equivalent to the time to live (TTL) information for your domain name. The TTL is the amount of time that the current domain name information remains in Internet Name Server caches. It is smart not to cancel a client's current hosting service until after a time equivalent to the TTL has elapsed. A quick way to check TTL information is to use the TTL tool. You can interface with this tool using a FORM element such as is shown below:

<form method=POST action="/cgi-bin/library/tts/ttl.pl">
<input name="name" size=24 maxlength=72>
<input type="submit" value="Check TTL">
</form>

 

bullet Installation

As the root user, copy the tts directory from the /usr/local/share/contrib/ directory on your VPS v2 to the appropriate cgi-bin for the domain that will be using the script. Make sure to change the file ownership to the correct user.

Specify the return email address for messages created by the Domain Name Modification Template Generator. Do this by substituting the email address for INSERT YOUR E-MAIL ADDRESS HERE in the ~/www/cgi-bin/library/tts/nsi-modify.pl file.

#
# from whom does the email template get mailed
#
 = "INSERT YOUR E-MAIL ADDRESS HERE";

Be sure to place a character before the @ sign in the email address, like this: myself@YOUR-DOMAIN.NAME".

 

bullet Customization

Two subroutines in the ~/www/cgi-bin/library/tts/util.pl file are used to print out header and footer information. These functions are print_header_info and print_footer_info. Feel free to modify these functions such that the CGI outputs pages that are in synch with the motifs of the rest of your site.


Toll Free 1-866-GSP-4400 • 1-301-464-9363 • service@gsp.com
Copyright © 1994-2016 GSP Services, Inc.