Bug 174402

Summary: Slow due to DNS request
Product: [Frameworks and Libraries] kio Reporter: Bash <bash686>
Component: smbAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: nate
Priority: NOR Keywords: triaged
Version: 3.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Bash 2008-11-06 07:57:31 UTC
Version:            (using KDE 3.5.10)
OS:                Linux
Installed from:    Ubuntu Packages

When accessing a computer or a specific share over smb for the first time it sends 2 DNS requests. This times out after 10secs before reverting to mdns which responds instantly.

Type "smb://fileserver/" into the search bar or "smb://fileserver/Dump". The first time it is accessed the delay is incurred. Note that accessing the same share twice does not experience the delay but accessing a different share (on the same host) does.

According to wireshack a dns request is sent. A few seconds later another one is sent. 10secs after the first request the address is resolved with mdns. Only later is a dns failed packet received.

My network has a NAT which simply forwards requests to the ISP's dns server so no dns query about my internal network could possibly complete successfully. 

from /etc/nsswitch.conf:
hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4

Rather than a dns request i would expect the name to be resolved with mdns. This should provide an instant response.
Comment 1 Nate Graham 2018-06-28 18:20:15 UTC
Is this still an issue with KDE Frameworks 5.47 and Dolphin 18.04.x?
Comment 2 Andrew Crouthamel 2018-09-28 03:09:33 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-10-28 03:27:49 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!