Admin Backup/Transfer does not work with IPv6 hosts?

Nevsky

Verified User
Joined
Mar 14, 2017
Messages
5
I have backup server available via IPv6 only. I can't create any cron rule in Admin Backup/Transfer due error:

Code:
backup.mydomain.com: unknown host.
ncftpls: cannot open backup.mydomain.com: unknown host.
/usr/bin/ncftpls returned error code 1
FTP information invalid.

if i put in form IPv6 address i got error:

Code:
Invalid IP/Domain for the ftp connection

and sure IPv6 working on both servers fine in all other cases.
 
Hello,

Thanks for the report.
I've checked the code, and as it is, you'd need to set:
ipv6=1
in the directadmin.conf for the validator to bother seeing if an IPv6 is a valid IP.

However, as the IP in the question might not be related to this box at all, so I've changed the code to allow IPv6 address, full or condensed form.

As for the "unknown host" error.. that might be a limitation of ncftp... not 100% sure with the current info.
If your remote host supports FTPS (secure ftp on port 21 with STARTTLS), then I'd recommend enabling that checkbox in the backups, as this flips to using curl, which is going to be better at this.

John
 
I've checked the code, and as it is, you'd need to set:
ipv6=1
in the directadmin.conf for the validator to bother seeing if an IPv6 is a valid IP.

John,

was done early. In all other situations IPv6 runs on DA without any problems.
 
Ok. If you need the fix, the pre-release binaries should be available now.
Let me know if the problem persists.

John
 
Back
Top