Use the BUFFALO LS-XL network enclosure to open the FTP service, IP is 172.16.0.21
On Windows and Linux, you can access ftp://172.16.0.21, now you want to use domain access, easy to remember.
Intranet DNSMASQ as DNS server, IP is 172.16.0.1
The/etc/dnsmasq.conf configuration is as follows:
address=/FTP/172.16. 0.21
According to reason, it is now possible to visit ftp://ftp. The result is no, the reality is this:
Linux: can be accessed with an intranet domain name.
Windows: No, can nslookup, but ping domain name does not pass, ping network hard disk computer name pass,
Thought is dnsmasq problem, check for a long, online a lot of feedback on this issue. Finally found is the Windows problem: The domain name must be with a dot. Otherwise it will be treated as a computer name, local network search. https://stackoverflow.com/questions/330395/dns-problem-nslookup-works-ping-doesnt/330409#330409
Workaround:
The best way: The domain name must be with a dot., dnsmasq with Ftp.lan, ftp.local, or with the company domain name better remember a little, such as ftp.example.com
Candidate: Change the computer name of the network hard disk to FTP
Candidate: Use ftp://ftp under Windows. Access.
Entrepreneurial Pits: Intranet domain name can be nslookup under Windows, but Ping does not pass, also cannot access. And it's normal under Linux.