DNS (Domain Name System)
IP -> domain name reverse lookup
DNS
The default listening port 53
Recursive queries
Such as the internal organization of the DNS server will first visit the local DNS domain name resolution
As there is no local DNS can not be resolved then to a higher level (transponder forwards)
And so on
Roles
Main the DNS, the DNS secondary, repeater, fake buffer
step
Installation -> main configuration file /etc/named.conf -> /etc/named.rfc1912.zones add the domain profile area -> * .zone add points to the file file -> file belonging group to modify named, and group members have read access
1, the primary DNS server set up
install service
After installation services
Modifying the master configuration file /etc/named.conf
The first and last items changed any
Add to
(Default has been added)
Note: You can make a copy first on /etc/named.rfc1912.zones
Modify the configuration file /etc/named.rfc1912.zones
Add zlt.com
Where file pointing zlt.com.zone need to create
At / var / named
You can copy a named.localhost then make changes in it
Note : you need to add the modified file is named after modification group and set permissions named the r
dns specify the DNS server
www is the host
3, set up and test the network card configuration settings
Add DNS1 = 192.168.64.128 dns server because the unit is so set local ip
Check whether the cat /etc/resolv.conf dns added successfully
Has set up a network and restart the DNS service
Test with nslookup command
Note To add www (hostname)
Check grammar is wrong