It depends. There are many different file sharing protocols, both local-only and routed. Many use DNS for name resolution, others can use mDNS (an announced protocol not dependent on a DNS server).
"All of a sudden" last Monday file transfers from a Synology nas began to vary between smooth 110 mbs transfers to starting off strong then slowing to 25 mbs, with some not finishing at all. Explorer ...