FileZilla is the only program that won't resolve DNS name

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Message
Author
gwduvalljr
500 Command not understood
Posts: 5
Joined: 2018-12-27 15:14
First name: Garland
Last name: Duvall

FileZilla is the only program that won't resolve DNS name

#1 Post by gwduvalljr » 2018-12-27 15:34

I have read many topics on the board, but none quite the same and none provided any solution that worked for me.

All on the same Windows 10 laptop:
- Using WinSCP & PuTTY I can both SFTP and SSH (both on port 22) to my server using the server's name.
- With FileZilla if I use the server's name all I get is "Connection timed out after 20 seconds of inactivity"
- With FileZilla if all I change is the server name to its IP, it works.
- No matter the DNS server I ask (using nslookup) they all report the correct IP address (so far I have asked all my local DNS servers as well as Google's DNS servers)
- I have "allowed" FileZilla through the firewall, but that seems like overkill since all the other programs work fine.

From everything I can tell this problem is specific to FileZilla and is specific to DNS lookup, but I have no idea how to determine why it has a problem when no other related programs have any issue at all.

Does anyone have any thoughts?

User avatar
botg
Site Admin
Posts: 35505
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: FileZilla is the only program that won't resolve DNS name

#2 Post by botg » 2018-12-27 17:51

What is the full hostname you have entered?

gwduvalljr
500 Command not understood
Posts: 5
Joined: 2018-12-27 15:14
First name: Garland
Last name: Duvall

Re: FileZilla is the only program that won't resolve DNS name

#3 Post by gwduvalljr » 2018-12-28 00:56

sftp.practiceadmin.com

Oh, I forgot to mention that there are many users of this hostname around the US.

User avatar
botg
Site Admin
Posts: 35505
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: FileZilla is the only program that won't resolve DNS name

#4 Post by botg » 2018-12-29 18:48

Please open cmd.exe and type the following command:

Code: Select all

ipconfig /all | findstr /R "DNS.Server"
What does it output?

gwduvalljr
500 Command not understood
Posts: 5
Joined: 2018-12-27 15:14
First name: Garland
Last name: Duvall

Re: FileZilla is the only program that won't resolve DNS name

#5 Post by gwduvalljr » 2019-01-02 12:38

Below is the output. I took it one step further and asked each of those DNS servers to lookup that DNS name.


C:\Users\gduvall>ipconfig /all | findstr /R "DNS.Server"
DNS Servers . . . . . . . . . . . : 10.32.5.111
DNS Servers . . . . . . . . . . . : 192.168.86.1

C:\Users\gduvall>nslookup sftp.practiceadmin.com 10.32.5.111
Server: pa-nor-dc02.practiceadmin.local
Address: 10.32.5.111

Name: sftp.practiceadmin.com
Address: 40.70.208.134


C:\Users\gduvall>nslookup sftp.practiceadmin.com 192.168.86.1
Server: testwifi.here
Address: 192.168.86.1

Non-authoritative answer:
Name: sftp.practiceadmin.com
Address: 40.70.208.134

User avatar
botg
Site Admin
Posts: 35505
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: FileZilla is the only program that won't resolve DNS name

#6 Post by botg » 2019-01-02 20:33

The SFTP support in FileZilla is based on PuTTY's psftp, DNS resolution works the same in both.

My best guess is that some third party program is partially blocking FileZilla's fzsftp component.

gwduvalljr
500 Command not understood
Posts: 5
Joined: 2018-12-27 15:14
First name: Garland
Last name: Duvall

Re: FileZilla is the only program that won't resolve DNS name

#7 Post by gwduvalljr » 2019-01-02 23:38

You are correct psftp has the same issue as FileZilla. Weirdly, PuTTY itself is fine and dandy with the domain name. Since I have no ideas how to make it work, I will just use WinSCP.

User avatar
boco
Contributor
Posts: 26910
Joined: 2006-05-01 03:28
Location: Germany

Re: FileZilla is the only program that won't resolve DNS name

#8 Post by boco » 2019-01-03 02:02

Strange, resolves fine from here.

Code: Select all

02:50:30	Status:	Connecting to sftp.practiceadmin.com...
02:50:30	Response:	fzSftp started, protocol_version=8
02:50:30	Command:	open "anonymous@sftp.practiceadmin.com" 22
02:50:30	Trace:	Connecting to 40.70.208.134 port 22
02:50:30	Trace:	We claim version: SSH-2.0-FileZilla_3.39.0
02:50:30	Trace:	Server version: SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.6
02:50:30	Trace:	Using SSH protocol version 2
02:50:31	Trace:	Server supports delayed compression; will try this later
02:50:31	Trace:	Doing ECDH key exchange with curve Curve25519 and hash SHA-256
02:50:31	Trace:	Server also has ecdsa-sha2-nistp256/ssh-rsa host keys, but we don't know any of them
02:50:31	Trace:	Host key fingerprint is:
02:50:31	Trace:	ssh-ed25519 256 93:ff:35:2a:6a:2f:1d:d8:b4:c0:5b:10:2a:dd:63:55 8mIePYhbS3awsiylS3iX01s9vXesytnWigZ6Abmb/NI=
02:50:31	Command:	Trust new Hostkey: Once
02:50:31	Trace:	Initialised AES-256 GCM client->server encryption
02:50:31	Trace:	Initialised AES256 GCM client->server MAC algorithm (in ETM mode) (required by cipher)
02:50:31	Trace:	Initialised AES-256 GCM server->client encryption
02:50:31	Trace:	Initialised AES256 GCM server->client MAC algorithm (in ETM mode) (required by cipher)
02:50:31	Command:	Pass: *********************
02:50:31	Trace:	Sent password
02:50:33	Trace:	Password authentication failed
02:50:33	Error:	Authentication failed.
02:50:33	Error:	Critical error: Could not connect to server
Error is because of missing login creds, but it connects fine.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

User avatar
botg
Site Admin
Posts: 35505
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: FileZilla is the only program that won't resolve DNS name

#9 Post by botg » 2019-01-03 08:56

Do you by chance have a stored session in PuTTY named after the hostname?

gwduvalljr
500 Command not understood
Posts: 5
Joined: 2018-12-27 15:14
First name: Garland
Last name: Duvall

Re: FileZilla is the only program that won't resolve DNS name

#10 Post by gwduvalljr » 2019-01-03 13:32

Why yes I did and it was associated with the old IP. I removed that stored session and now FileZilla works.

Thank you very much. I would never have thought that the stored session had any connection to FileZilla. Now, I know and that will help me debug any other issues I happen across.

Thank you again!

User avatar
boco
Contributor
Posts: 26910
Joined: 2006-05-01 03:28
Location: Germany

Re: FileZilla is the only program that won't resolve DNS name

#11 Post by boco » 2019-01-03 22:17

FileZilla automatically uses the sessions stored in PuTTY/Pageant.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Kostal
500 Command not understood
Posts: 5
Joined: 2022-12-05 11:03

Re: FileZilla is the only program that won't resolve DNS name

#12 Post by Kostal » 2022-12-05 18:17

Hi there guys,

I wonder if I can tie in with this theme. I have a similar problem like the topic starter.

My problem is, that when I want to connect to my sftp via FileZilla, I can do it via the URL. But when someone else wants to do it, it times out and they need the IP address instead.
I tried to recreate the problem by using a VPN connection, but I´m still able to connect via the URL.

Maybe, you can help me find the reason and a solution for this behaviour.

Thanks a lot

User avatar
boco
Contributor
Posts: 26910
Joined: 2006-05-01 03:28
Location: Germany

Re: FileZilla is the only program that won't resolve DNS name

#13 Post by boco » 2022-12-05 23:55

How is the URL resolved, by a public server? Does it resolve to a public IP?

Sounds to me like you using a local DNS to resolve it, possibly to a LAN IP.

Note, the computer name is not a URL and only works locally.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Kostal
500 Command not understood
Posts: 5
Joined: 2022-12-05 11:03

Re: FileZilla is the only program that won't resolve DNS name

#14 Post by Kostal » 2022-12-06 09:10

Hi,

sorry for the insufficiant information.

I´m using a FQDN in combination with dyndns.
NSLOOKUP resolve it successfully - regardless if its 1.1.1.1, 8.8.8.8, or my own.

Kostal
500 Command not understood
Posts: 5
Joined: 2022-12-05 11:03

Re: FileZilla is the only program that won't resolve DNS name

#15 Post by Kostal » 2022-12-08 10:36

I have made the https://filezilla-project.org/conntest.php.
I´ve dual stack and IPv4. IPv6 is not configured, so I only see two logos.

What else could I do?

Post Reply