29 April 2011

Samba 4 Domain Controller - Part 3 DNS Server Configuration

After successful installation of samba 4 alpha 13/14 follow these steps to configure DNS (bind) in linux..

open terminal and login as root (type su, press enter and then giv root password)

check the bind  version by typing this command.

                   "/usr/sbin/named -V"

result should be above 9.7.2, if not please update bind by issuing the command "yum update bind"

Edit the bind config file (named.conf) using this command.

Default named.conf file will opened..

Edit the named.conf file like this..

Edit the "/etc/sysconfig/named" file..

change the DNS related files permissions and owners groups in samba folder (/usr/local/samba/private)


copy "/usr/local/samba/private/krb5.conf" to "/etc/"

start the DNS server by using this command "/etc/init.d/named start"

check the DNS server working with the follwing commands..

             host -t SRV _ldap._tcp.admingeeks.blogspot.com

             host -t SRV _kerberos._udp.admingeeks.blogspot.com

             host -t A dc.admingeeks.blogspot.com

check kerberos using the following command

            kinit administrator

          klist -e

Next Part -  Adding Windows 2008R2 server as additional Domain Controller to this Samba4 domain controller, checking replication, adding Windows XP Client, checking Dynamic DNS updates, Group policy configuration.


Anonymous said...

need help sir,
when I did command "/etc/init.d/named start"
named can't start, i found error message
Starting named: /usr/sbin/named: symbol lookup error: /usr/sbin/named: undefined symbol: dns_cache_create3
I hope you petrify me solve this problem
thanks in advance.


Rafa said...

/usr/sbin/named -g -d 99

Post a Comment