1
0
Fork 0
mirror of https://github.com/fernwerker/ownDynDNS.git synced 2025-07-10 06:05:13 +02:00

multilevel subdomain handling, renamed functions

This commit is contained in:
Nils Blume 2023-08-22 22:46:46 +02:00
parent f222dfab66
commit c33e712432
3 changed files with 7 additions and 4 deletions

View file

@ -43,7 +43,7 @@ final class Config
/** /**
* @var bool * @var bool
*/ */
private $debug; private $debug = false;
/** /**
* @var bool * @var bool
@ -138,6 +138,7 @@ final class Config
return $this->debug; return $this->debug;
} }
/** /**
* @return bool * @return bool
*/ */

View file

@ -185,7 +185,7 @@ final class Handler
} }
} }
if ($changes) { if (true === $changes) {
$recordSet = new Soap\Dnsrecordset(); $recordSet = new Soap\Dnsrecordset();
$recordSet->dnsrecords = $infoHandle->responsedata->dnsrecords; $recordSet->dnsrecords = $infoHandle->responsedata->dnsrecords;

View file

@ -36,7 +36,7 @@ final class Payload
/** /**
* @var string * @var string
*/ */
private $txt; private $txt;
/** /**
@ -127,7 +127,9 @@ final class Payload
* works: nas.tld.de * works: nas.tld.de
* works: tld.com * works: tld.com
* failed: nas.tld.co.uk * failed: nas.tld.co.uk
* failed: nas.home.tld.de * failed: nas.home.tld.de ** see new below
*
* new: for explicit host / domain separation use "&host=nas.home&domain=tld.de" for the last example
* *
* @return string * @return string
*/ */