Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

->

bind dns server setup <-

1. yum install bind bind-utils 2. edit /etc/named.comf #vi /etc/named.conf options { listen-on port 53 { localhost; }; allow-query { localnets; }; forwarders { 193.231.100.130; }; }; 3. edit /etc/named.rfc1912.zones #vi /etc/named.rfc1912.conf zone aiolinux.ro IN { type master; file aiolinux.ro.zone; allow-update { none }; }; 4. create and edit /var/named/aiolinux.ro.zone file #touch /var/named/aiolinux.ro.zone #chown named:named aiolinux.ro.zone #vi /var/named/aiolinux.ro.zone $TTL 14400 @ 86400 IN SOA ns.aiolinux.ro. administrator@aiolinux.ro. ( 2008021501 ; serial, todays date+todays 86400 ; refresh, seconds 7200 ; retry, seconds 3600000 ; expire, seconds 86400 ) ; minimum, seconds IN NS ns.aiolinux.ro. IN MX 10 mail.aiolinux.ro. ns IN A 192.168.0.2 mail IN CNAME ns.aiolinux.ro. www IN A 192.168.0.3 5. edit /etc/resolv.conf #vi /etc/resolv.conf nameserver 192.168.0.2 5. start named service #service named start 4.test #ping ns.aiolinux.ro #dig @localhost aiolinux.ro mx

www.arondmessaging.ro www.facebook.com/aiolinux

You might also like