Project

General

Profile

« Previous | Next » 

Revision 0b230bb2

Added by Tom Embt about 6 years ago

Allow Dynamic DNS wildcards for Route53 #9053

View differences:

src/usr/local/www/services_dyndns_edit.php
120 120
		} elseif (($pconfig['type'] == "linode") || ($pconfig['type'] == "linode-v6")) {
121 121
			$host_to_check = $_POST['host'] == '@' ? $_POST['domainname'] : ( $_POST['host'] . '.' . $_POST['domainname'] );
122 122
			$allow_wildcard = true;
123
		} elseif (($pconfig['type'] == "route53") || ($pconfig['type'] == "route53-v6")) {
124
			$host_to_check = $_POST['host'];
125
			$allow_wildcard = true;
123 126
		} else {
124 127
			$host_to_check = $_POST['host'];
125 128

  
......
475 478
				break;
476 479

  
477 480
			case "dnsimple":
478
			case "route53-v6":
479
			case "route53":
480 481
				hideGroupInput('domainname', true);
481 482
				hideInput('resultmatch', true);
482 483
				hideInput('updateurl', true);
......
490 491
				hideInput('zoneid', false);
491 492
				hideInput('ttl', false);
492 493
				break;
494
			case "route53-v6":
495
			case "route53":
496
				hideGroupInput('domainname', true);
497
				hideInput('resultmatch', true);
498
				hideInput('updateurl', true);
499
				hideInput('requestif', true);
500
				hideCheckbox('curl_ipresolve_v4', true);
501
				hideCheckbox('curl_ssl_verifypeer', false);
502
				hideInput('host', false);
503
				hideInput('mx', true);
504
				hideCheckbox('wildcard', true);
505
				hideCheckbox('proxied', true);
506
				hideInput('zoneid', false);
507
				hideInput('ttl', false);
508
				break;
493 509
			case "namecheap":
494 510
			case "gratisdns":
495 511
			case "hover":

Also available in: Unified diff