Project

General

Profile

Bug #10196 » cf-ttl.diff

Jim Pingle, 01/21/2020 07:58 AM

View differences:

src/etc/inc/dyndns.class
819 819
								"content" => "{$this->_dnsIP}",
820 820
								"type" => "{$recordType}",
821 821
								"proxied" => $this->_dnsProxied,
822
								"name" => "{$this->_dnsHost}"
822
								"name" => "{$this->_dnsHost}",
823
								"ttl" => empty($this->_dnsTTL) ? 1 : (int) $this->_dnsTTL
823 824
							);
824 825
							$data_json = json_encode($hostData);
825 826
							$updateHostId = "https://{$dnsServer}/client/v4/zones/{$zone}/dns_records/{$host}";
src/usr/local/www/services_dyndns_edit.php
571 571
				hideCheckbox('wildcard', true);
572 572
				hideCheckbox('proxied', false);
573 573
				hideInput('zoneid', true);
574
				hideInput('ttl', true);
574
				hideInput('ttl', false);
575 575
				break;
576 576
			case "digitalocean":
577 577
		        case "digitalocean-v6":
(4-4/4)