Tugger the SLUGger!SLUG Mailing List Archives

[SLUG] DNS: BIND manually


Ok ok... thx for all the useful replied :)
I decided to configure BIND manually, because I'm trying not to install anything except the necessary rpms. I would like to ask your opinion about my configurations
 
The scenario:
firecafe is the firewall 192.168.1.1 with Squid and iptables installed only
servcafe is the BIND and NIS, APACHE, etc 192.168.1.2
I'm using cable connection from optus
The 2 computers has no Xwin or any GUI install
about 4-5 client comps
 
I do really hope that I can earn a really good experience of configure BIND manually...
 
This is the second email (exactly the same)
I don't what happen with the first one
 
Thank You for the Reply
 
Here are my conf(s?)
 
NAMED.CONF
options {
 directory "/var/named";
 forwarders{
  192.168.1.1;
 };
 allow-query{
  192.168.1/24;
  127.0.0.1/32;
 };
};
 
acl localhosts {
 192.168.1.0/24;
};
//----------------------------------
zone "." {
 type hint;
 file "named.ca";
};
 
zone "0.0.127.in-addr.arpa" {
 type master;
 file "named.local";
};
//----------------------------------
zone "domcafe.com" {
 type master;
 file "named.domcafe.com";
 allow-query{
  localhosts;
 };
};
 
zone "1.168.192.in-addr.arpa" {
 type master;
 file "named.rev";
};
 
NAMED.LOCAL
$TTL 86400
@ IN SOA localhost. root.localhost. (
     1997022700 ; Serial
     28800  ; Refresh
     14400  ; Retry
     3600000  ; Expire
     86400 )  ; Minimum
  IN NS localhost.
 
1 IN PTR localhost.
 
 
NAMED.DOMCAFE.COM
$TTL 86400
@ IN SOA domcafe.com.  hostmaster.domcafe.com. (
   1999022300 ; Serial Number
   10800  ; Refresh every 3 hours
   1800  ; Retry every 30 minutes
   1209600  ; Expire in 2 weeks
   604800 ) ; Minimum 1 week
  IN NS ns.domcafe.com
  IN MX 10 mail.domcafe.com
firecafe IN A 192.168.1.1 ; Gateway & Firewall
 
 
NAMED.REV
$TTL 604800
@ IN SOA 1.168.192.in-addr.arpa. hostmaster.domcafe.com. (
    1999010501 ; Serial
    10800  ; Refresh rate (3 hours)
    1800  ; Retry (30 minutes)
    1209600  ; Expire (2 weeks)
    604800 ) ; Minimum (1 week)
   IN NS ns.domcafe.com.
1   IN PTR firecafe.domcafe.com.