Entrepreneurial Pits: Intranet domain name can be nslookup under Windows, but Ping does not pass, also cannot access. And it's normal under Linux.

Source: Internet
Author: User
Tags nslookup ping network

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.