DNS service problems in Redhat9

Source: Internet
Author: User
In Redhat9, for details about the DNS Service-Linux Enterprise Application-Linux server application, refer to the following. 1. During Redhat9 usage, the website cannot be resolved.
After checking that the network can be pinged and confirmed to be connected, it indicates that the DNS service is faulty.

2. the DNS used for Redhat9 is 9.2.1. Someone on the Internet commented that this version is unstable. We recommend that you upgrade it to another version 9.2.2 or later.
Run the command rpm-e bind-9.2.1-16...

3. [root @ linux-tys root] # rpm-qa | grep bind
Check that my version is 9.2.1.

4. Check the system service. If there is no named item, you have to go to disk 1 to find it.
Bing-9.2.1-... two in total
Rpm-ivh bing -....
The DNS service is ready.
Start the service:
/Etc/rc. d/init. d/named start
Service named start
Redhat can be enabled in xwindow service options
Other configuration files are also in/etc, and the file name is named...

5. Check Configuration
Nslookup
> 127.0.0.1
> Www.163.com
Unable to connect to the DNS server

6. Modify the DNS server address. The virtual machine must be consistent with the NAT server address.
[Root @ linux-clt named] # more/etc/resolv. conf
Modifying

You can access the Internet again.
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.