Modify

Ticket #4345 (closed defect: fixed)

Opened 12 months ago

Last modified 12 months ago

Gateway dynamic DNS fails for gateway names that contain hyphens (-)

Reported by: jjmontes@… Owned by: jamor@…
Milestone: 3.0 Component: network
Severity: normal Keywords: external-ip, multigateway, hyphen
Cc:

Description

Zentyal is providing a dynamic name for each host gateway (i.e. gateway1.host.zentyal.me).

It has been observed that this feature fails for gateways that contain hyphens (i.e. gateway-01). The DynDNS client refuses to update those gateway names because the external script used to obtain the external IP address (external-ip.pl) is failing, showing the following:

gateway-01 is not a valid gateway name Usage:

external-ip.pl gateway-name gateway-name : the gateway to use for the check

Removing the hyphens solves this issue. Please also review whether other characters can be used safely. I'd suggest to either modify Zentyal interface to restrict the character used, or ensuring that they are correctly handled across all facilities that use gateway names.

Version where this has been observed: 2.2.4.

Attachments

Change History

comment:1 Changed 12 months ago by jjmontes@…

Internal: for more info, check support issue 1156.

comment:2 Changed 12 months ago by jamor@…

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone set to 3.0

We have checked and '-' does not raise problem, but other combiantions of character cn break havoc in dynamic dns. This is fixed in [4ef47bc]

No need to hotfix, existent server should set its gateway names to this character set: lowercase letters a-z. '-' and 0-9 digits.

comment:3 Changed 12 months ago by jamor@…

  • Component changed from base to network
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.