|
Configure linux dns slave server step by step guide example and implementation |
| Home | Peer to Peer | CompTIA N+ | CCNA | MCSE | MCITP | RHCE | Interview | Tips n Tricks |
How to configure linux dns slave server step by step guide Example and ImplementationA DNS server, or name server, is used to resolve an IP address to a hostname or vice versa.
In our pervious article we have configured Master dns server. In this tutorial we will extended pervious article and configure salve dns server. This article is the second part of How to configure dns server step by step guide. We suggest you to review pervious article before starting it. Configure dns server step by step guide part1 Configure dns slave serverFor this example we are using three systems one linux server one linux clients and one window clients. We have configured master DNS server with ip address of 192.168.0.254 and hostname server.example.com on linux server. Now we will configure slave DNS server on linux clients To configure slave DNS server go on client1 system.
We are using bind's chroot features so all our necessary files will be located in chroot directory. Set directory location to /var/named. As we are configuring slave server so we need not to define the location of zone database files. Zone database file can be created and modified only on master server. A slave server only copied it's from master server.
If you cannot create this file manually then download this pre configured file and copy to /var/named/chroot/etc/named.conf To download do right click here and choose save link As..
Configure Window DNS Client
Configure Linux DNS clientsRHCE Exam question
RHCE Exam question2 Your System is configured in 192.168.0.0/24 Network and your nameserver is 192.168.0.254. Make successfully resolve to server.example.com. On command line interface you don't have any options to set DNS ip in network configuration window. IP of DNS server can be set from /etc/resolv.conf file. Each nameserver line represents a DNS server, and the search line specifies domain names to try if only the first part of a hostname is used. For example, if just the name client1 is used as a hostname, client1. example.com will also be tried if the /etc/resolv.conf file is configured as shown in image below on the system.
|
|||||
|
|
|
|