I have configured a debian server, hosting a website, for FTPS access using vsftpd. Port 22, SSL enabled. When testing the connection with FileZilla, I successfully connect if I put the server's IP address in the host field. If I put the wesbsite's hostname, it fails. The server is under a private router with dynamic IP. Therefore, I am using a dynamic DNS service provided by Dynu DNS (my internet provider gives me the possibility to connect the router to Dynu, in order to let the router inform Dynu when the IP has changed). DNS records in Dynu are the A record, updated by my router, and the AAAA record (updated by Dynu).
Hostname | Type | Data |
---|---|---|
*.myhostname | A | 12.34.567.89 |
*.myhostname | AAAA | [IPv6 address] |
And in FileZilla:
Host | Connection Status | FileZilla logs |
---|---|---|
12.34.567.89 | Success | Command: open "[email protected]" 22 Trace: Looking up host "12.34.567.89" for SSH connection Trace: Connecting to 12.34.567.89 port 22 |
myhostname | Failed | Command: open "username@myhostname" 22 Trace: Looking up host "myhostname" for SSH connection Trace: Connecting to [IPv6 address] port 22 |
12.34.567.89
is not an IPv4 address.