Dual-nic computer linux operating system multiple services reverse DNS resolution

Source: Internet
Author: User
Tags reverse dns
Dual-nic computer linux operating system multiple services reverse DNS resolution problem solution overview-Linux Enterprise Application-Linux server application information, the following is a detailed reading. Many Computers are installed with dual NICs. When connecting to the Intranet, many services may encounter connection timeout. The most likely reason is that these services are applied to reverse DNS, as a result, the query times out.

The following solutions are available in several services:

1. ssh.
In/etc/ssh/sshd_config, change UseDNS yes to UseDNS no, edit/etc/nsswitch. conf to find the hosts line, and change it to hosts: files dns [NOTFOUND = return].

2. mysql: Modify the mysql Startup File. server Changes $ bindir/mysqld_safe -- datadir = $ datadir -- pid-file = $ server_pid_file>/dev/null 2> & 1 wait_for_pid created to $ bindir/mysqld_safe -- skip- name-resolve -- datadir = $ datadir -- pid-file = $ server_pid_file>/dev/null 2> & 1 wait_for_pid created, that is, the -- skip-name-resolve startup option is added.

3. Modify the UseReverseDNS option of the configuration file proftpd. conf to off.

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.