The LinuxDNS server is configured in text mode.

Source: Internet
Author: User
In text mode, the LinuxDNS server-Linux Enterprise Application-Linux server application information is configured. For details, see the following section. Assume that your domain name is mail.com.cn and your IP address is 10.79.0.110.

1. Several DNS-related files:

1./etc/hosts
# TurboLinux/etc/hosts table
# This file contains hostname/IP lookup information.
# This file is (usually) queried before DNS or NIS.
# Current/etc/hosts generated by turbonetcfg.
# Generated on: monjun 24 20:33:31 2002

10.79.0.110 mail.mail.com.cn mail
127.0.0.1 localhost. localdomain localhost

# End of/etc/hosts

2./etc/host. conf
Order hosts, bind
Multi on

3./etc/hosts. allow
#
# Hosts. allow This file describes the names of the hosts which are
# Allowed to use the local INET services, as decided
# By the '/usr/sbin/tcpd' server.
#
# See man hosts_access (5) for details.
#
# The settings in/etc/hosts. allow take precedence over the those in
#/Etc/hosts. deny.
#
# Note: The tcp_wrappers (configured by/etc/hosts. allow and/etc/hosts. deny)
# Only affect services that are called via/usr/sbin/tcpd. Check out
#/Etc/inetd. conf to find out if a service started by inetd goes through
# Tcp_wrappers.
# Some services are not started via inetd and still use
# Tcp_wrappers (e.g. sshd, portmap (nfs) -- see below for sample setups ).
#
# Examples of services which usually run as stand alone servers and
# Don't make use of tcp_wrappers are Apache and Sendmail.
#
# Note2: Security scanners like nmap (1) will report blocked services as being
# Open, because an initial connection is always established and only
# Dropped later, if the connection is not approved by the tcp_wrappers
# Configuration.

######################################## ########################################
# Local host
# Allow all requests from localhost

ALL: 127.0.0.1

######################################## ########################################
# Telnet

# Allow telnet logins from sample.foobar.edu
# Warning: telnet is inherently insecure as a protocol. All network traffic,
# Including authentication information (login and password) are transmitted
# As clear text. Use secure alternatives (e.g. ssh ).

# In. telnetd: sample.foobar.edu

######################################## ########################################

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.