Comics: Parsing of/etc/resolv.conf files and puppet tools in Linux

Source: Internet
Author: User
Tags nameserver

There's a programmer in the office today. Sister Bird, small fish is to her assigned tutor, first meet ~

Lunch time

Linux directory structure

resolv.conf file

NameServer

The only required keyword. Indicates the IP address of the DNS server, which can have many rows of nameserver, each with an I-P address. At query time, the order of nameserver in this file is performed, and the following nameserver is queried only if the first nameserver is unresponsive. generally do not specify more than 3 servers

Domain

Declares the domain name of the host. Many programs use it, such as a mail system, and are used when DNS queries are made for hosts that do not have a domain name. If there is no domain name, the host name is enabled, with the deletion of all at the first point (.) The previous content.

Search

Several of its parameters indicate the order in which the domain names are queried. When you want to query a host that does not have a domain name, the host is found separately in the domain that is declared by search. Domain and search cannot coexist, and if they exist at the same time, subsequent occurrences will be used.

Sortlist

Allows for a specific sort of domain results to be obtained. Its parameters are network/mask pairs that allow arbitrary order of arrangement. The default/etc/resolv.conf file is not available in Red Hat, and its content is created dynamically based on the options given at the time of installation.

Dinner Time

Automatic Maintenance tool-puppet

Happy Children's Day (*^__^*)

Pay attention to the static children of the public number, irregular cartoon technology push ~

Comics: Parsing of/etc/resolv.conf files and puppet tools in 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.