centos bind ---- view view

Prepare the environment:

Two centos, each machine are two network cards

To build the machine, the internal definition: 192.168.1.6,172.16.1.6

Define external: 192.168.1.7,172.16.1.7

 

1.6 Configuration:

[root@6 ~]# yum -y install bind bind-u*

 

 

 

 

[root@6 named]# cp -a named.localhost  ml.com.zone.NeiBu 

[root@6 named]# cp -a named.localhost  ml.com.zone.WaiBu

 

[root@6 named]# vim ml.com.zone.NeiBu 

 

 [root@6 named]# vim ml.com.zone.WaiBu 

 

 

 [root@6 named]# systemctl restart  named

 

1.6 Test:

1.7 Test:

 

Guess you like

Origin www.cnblogs.com/meml/p/12519388.html