CentOS – Samba Integration with DNS (PART 27)

LAB 27: SAMBA INTEGRATION WITH DNS

We will deploy DNS on the SAMBA server and the Windows Server will use that service.

On SAMBA server

rpm –qa | grep bind

mount /dev/cdrom /media

rpm –ivh /media/Packages/bind-9.3.3….rpm

rpm –ivh /media/Packages/bind-devel-9.3.3….rpm

rpm –qa | grep bind

rpm –ivh /media/Packages/bind-chroot-9.3.3-10…rpm

rpm –qa | grep bind

ifconfig

vi /etc/resolv.conf

Ensure you have two lines:

search dalaris.com

nameserver 10.0.0.11

:x

 

cat /etc/sysconfig/network

networking = yes

networking_ipv6=no

hostname = DNSSRV.dalaris.com

cd /var/named/chroot

ll

we need some configurations files.

named.root

named.conf

forward.dalaris.com

reverse.dalaris.com

store those files in /var/named/chroot/var/named

cd etc/

ll

vi named.conf

:x

cd ../var/named/

ll

check contents of files.

named.root (download from internet)

dalaris.db

Please refer to the DNS lab

service named start

chkconfig named on

nslookup