
| ||
| ||
| New Way As of DA 1.37.0, a User can edit their TTL value via: User Level -> DNS Management -> TTL (bottom) so the guide below isn't required if the above method is used. http://www.directadmin.com/features.php?id=1130 It's also been added to the Admin Level -> DNS Admin for 1.41.2: http://www.directadmin.com/features.php?id=1364 Old Way When changing the IP of a domain, end users will have the old IP of the domain cached at their ISP's nameservers for a duration of the TTL (time to live). The default value is 14400 seconds (4 hours). This means, that when you change the IP of the sever, the worst case, is the end users will be using the wrong IP for 4 hours before the cache expires and the IP is recached with the correct value. The simple way to minimize this propagation error is to lower the TTL. We'll change the TTL from 14400 to 100 seconds for all domains on your system (assuming server move). Run the following: cd /usr/local/directadmin/data/templates If you are running the for just one domain, then run the perl command in /var/named/domain.com.db, instead of the named.db file and restart named. In both cases, you'll want to do this at least 4 hours before you actually do the IP change so that all cached values are stored for no more than 100 seconds. The nameservers will then query for the new IP every 100 seconds (instead of 4 hours), giving the end user the new IP much quicker. *** Note: On Debian systems, replace /var/named with /etc/bind. On FreeBSD systems, replace /var/named with /etc/namedb. | ||
| Related Helpfiles | ||
| www.domain.com doesn't work, but domain.com works fine (or vice versa) | ||
| Why do I see the "Apache is functioning normally" page instead of my domain? (sometimes: "Hey it worked!") |
![]()
© 2003 JBMC Software, Suite 173 3-11 Bellerose Drive, St Albert, AB T8N 1P7 Canada. Mon-Fri 9AM-5PM MST