Posts

Showing posts from April, 2005

Bind DNS configuration at Redhat Linux

Bind is standard DNS service for Redhat Linux Install Binary Package rpm –i bind.~.rpm rpm –i caching-namingserver-~.rpm Check named config file rpm –qf /etc/named.conf Create Domain Modify /etc/named.conf zone "sun.com" IN { type master; file "com.zone"; ← your zone file( /var/named ) allow-update { none; }; }; zone "1.168.192.in-addr.arpa" IN { type master; file "reverse.com.zone";← your zone file( /var/named ) allow-update { none; }; }; Create Zone File Easy way to create Forward zone file is by copying localhost.zone. Rename with xxx.zone. Reconfigure for relevant domain name. In this example,   sun.com   is desired domain name. @ 1D IN SOA sun.com. hostmaster.sun.com. ( 42 ; serial (d. adams) 3H ; refresh 15M ; retry 1W ; expiry 1D ) ; minimum @ 1D IN NS test.sun.com. ← hostname+Domain @ 1D IN MX 10 test.sun.com. ← Mail Priority @ 1D IN MX 20 test1.sun.com. test 1D IN A 192.168.1.1 ← hostname java 1D IN A 192.168.1.2 C