Project

General

Profile

Bug #8977

Dynamic DNS - Custom (V6) - Throws Error "php-fpm: /services_dyndns_edit.php: phpDynDNS: (ERROR!) No Hostname Provided."

Added by Rick Coats over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
Dynamic DNS
Target version:
Start date:
09/29/2018
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
All
Affected Architecture:
All

Description

The Dynamic DNS - Custom (v6) when it runs, throws the following error, even though it successfully updated:
php-fpm: /services_dyndns_edit.php: phpDynDNS: (ERROR!) No Hostname Provided.

Since there is no Hostname provided for Custom (v6) this is an error but has no impact since it still works.
It should be noted that the v4 version of custom does not throw the error.

Looking in the source at https://github.com/pfsense/pfsense/blob/master/src/etc/inc/dyndns.class#L261
Line 261 has case 'custom"

I think there should be an additional line below 261

case 'custom-v6':

This would have 'custom' and 'custom-v6' act the same.

Associated revisions

Revision 45ff6b8f (diff)
Added by Jim Pingle over 2 years ago

Fix erroneous hostname error for Custom IPv6. Fixes #8977

Revision 0fe8d0c7 (diff)
Added by Jim Pingle over 2 years ago

Fix erroneous hostname error for Custom IPv6. Fixes #8977

(cherry picked from commit 45ff6b8f1d574b3786d25286abc4978427675974)

History

#1 Updated by Jim Pingle over 2 years ago

  • Category set to Dynamic DNS
  • Status changed from New to In Progress
  • Assignee set to Jim Pingle
  • Priority changed from Normal to Low
  • Target version set to 2.4.4-p1
  • Affected Version set to All
  • Affected Architecture All added
  • Affected Architecture deleted ()

#2 Updated by Jim Pingle over 2 years ago

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 100

#3 Updated by Rick Coats over 2 years ago

I can provide some feedback, that I manually edited the file in the same manner as the patch on the same day I submitted the bug, and have not had any errors that I can see. So about 4 days now with no errors. Caveat that my ipv6 never changes, but I did save and force update with no errors.

#4 Updated by Renato Botelho over 2 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF