Created
October 26, 2022 19:22
-
-
Save therevoman/cc986a390bb08255d4119903f734f22d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/src/etc/inc/dyndns.class 2022-10-21 22:11:05.836183000 +0000 | |
+++ b/src/etc/inc/dyndns.class 2022-10-26 19:13:32.756072000 +0000 | |
@@ -1209,11 +1209,11 @@ | |
$post_data['hostname'] = $this->_dnsHost; | |
$post_data['myip'] = $this->_dnsIP; | |
$post_data['offline'] = 'no'; | |
- $server = "https://domains.google.com/nic/update"; | |
+ $server = "https://domains.google.com/nic/update?hostname=" . $this->_dnsHost; | |
$port = ""; | |
- curl_setopt($ch, CURLOPT_URL, 'https://domains.google.com/nic/update'); | |
+ curl_setopt($ch, CURLOPT_URL, 'https://domains.google.com/nic/update?hostname=' . $this->_dnsHost); | |
curl_setopt($ch, CURLOPT_USERPWD, $this->_dnsUser . ':' . $this->_dnsPass); | |
- curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data); | |
+ #curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data); | |
break; | |
case 'dnsmadeeasy': | |
$needsIP = TRUE; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment