Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

DNS domain name resolution service

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

The function of DNS system in the network is to maintain an address database, which records the corresponding relationship between various host domain names and IP addresses, in order to provide forward or reverse address query services for client programs, that is, forward resolution and reverse resolution.

This lab has a linux server (rh7-1), a win7 client (win7-1, responsible for DNS domain name resolution), and a win7 server (win7-3, as a website service).

This experiment is a forward analysis experiment and a reverse analysis experiment.

First mount the device and install bind:

There are three configuration files in bind: the main profile, the zone profile, and the zone data profile:

Step 1: edit the main configuration file:

There are only two things that need to be modified in the main configuration file:

Monitor IPV4 address: change it to linux server address

Change the allow-query to be accessible to all network segments

Step 2: edit the zone profile:

Here I will do forward parsing and reverse parsing:

The file name suffix for forward parsing is zone

The file name suffix for reverse resolution is local

Type master indicates that the type is the primary zone DNS server

Step 3: edit the zone data configuration file (under / var/named):

Enter the forward parsing area data configuration file:

Benet.com. Represents a domain name

Admin.benet.com. Indicates the administrator mailbox

192.168.100.110 represents the linux server address

Enter the reverse parsing zone data configuration file:

Turn off the firewall:

Start the service:

Write the address of the server to the resolve.conf file:

Verify forward resolution:

Verify reverse resolution:

Win7-1 settings:

The IP address is on the same network segment as the DNS server address

DNS address is the address of the linux server (that is, rh7-1)

Test DNS parsing on win7-1:

Set up on Win7-3:

The IP address is the resolved address

DNS address is the address of the linux server (that is, rh7-1)

Enable the Internet information service (in Control Panel > programs > programs and Features > enable or disable the windows feature):

Enter IIS:

To edit:

Open the binding:

IP address input parsed address

The hostname is www.benet.com

Use the domain name to enter:

Enter with the parsed address:

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report