mirror of
https://github.com/fernwerker/ownDynDNS.git
synced 2025-07-10 14:15:14 +02:00
multilevel subdomain handling, renamed functions
This commit is contained in:
parent
f222dfab66
commit
c33e712432
3 changed files with 7 additions and 4 deletions
|
@ -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
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue