From e8e9ce5aae7739a55d39311eb170aa78c3559b0b Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 8 Dec 2006 16:58:36 +0000 Subject: Add support for TTL. Begin framing in failover functions. --- packages/tinydns/tinydns.inc | 58 ++++++++++++++++++++++++++++-------- packages/tinydns/tinydns_domains.xml | 16 ++++++---- 2 files changed, 57 insertions(+), 17 deletions(-) (limited to 'packages/tinydns') diff --git a/packages/tinydns/tinydns.inc b/packages/tinydns/tinydns.inc index 591610be..ac626a0c 100644 --- a/packages/tinydns/tinydns.inc +++ b/packages/tinydns/tinydns.inc @@ -31,7 +31,7 @@ function tinydns_custom_php_install_command() { global $g, $config; - conf_mount_rw(); + conf_mount_rw(); $fd = fopen("/usr/local/etc/rc.d/svscan.sh", "w"); $svscan = <<Hostname hostname - + hostname @@ -48,9 +48,14 @@ Enter the IP Address that this record will point to (primary). The only exception is for NS type records where we expect a complete hostname to point to a A record. input - + - Threshhold + ttl + DNS record time to live + input + + + threshhold Time in minutes before DNS switches to backup host input @@ -62,11 +67,12 @@ failoverip Failover IP when host is not responding to ICMP/PING traffic input + 25 - + tinydns_create_zone_file(); - + -- cgit v1.2.3