View Single Post
  #3  
Old 22nd October 2010, 15:03
prithwis prithwis is offline
Junior Member
 
Join Date: Oct 2010
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default sysadm throws ball back in my court ....

it seems that the institute sysadm wants me to manage the DNS entries on the ISPConfig server itself and so i am forced to "try" configuring the DNS server on my machine based on the instructions given in another post in this forum

unfortunately after making all the changes, the /etc/init.d/bind9 start command fails !

i have created / edited four files :

a] /etc/bind/named.conf
b] /etc/bind/named.conf.options
c] /etc/bind/zones/mislab.vgsom.iitkgp.ac.in.db
d] /etc/bind/zones/rev.33.43.10.in-addr.arpa

would be grateful if someone can look through these files and tell me where i have gone wrong.

i am now listing these four files below : THANKS for your help

file : /etc/bind/named.conf ( belows )
===============================
options {
pid-file "/var/run/bind/run/named.pid";
directory "/etc/bind";
auth-nxdomain no;
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};

include "/etc/bind/named.conf.options";


//
// a caching only nameserver config
//
zone "." {
type hint;
file "/etc/bind/db.root";
};

zone "mislab.vgsom.iitkgp.ac.in" {
type master;
file "/etc/bind/zones/mislab.vgsom.iitkgp.ac.in.db";
};

zone "33.43.10.in-addr.arpa" {
type master;
file "/etc/bind/zones/rev.33.43.10.in-addr.arpa";
};

zone "localhost" {
type master;
file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type master;
file "etc/bind/db.127";
};

zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};

include "/etc/bind/named.conf.local";


//zone "0.0.127.in-addr.arpa" {
// type master;
// file "db.local";
//};

//zone "iitkgp.ac.in" {
// type master;
// file "pri.iitkgp.ac.in";
//};
//zone "mislab.vgsom.iitkgp.ac.in" {
// type master;
// file "pri.mislab.vgsom.iitkgp.ac.in";
//};
//zone "vgsom.iitkgp.ac.in" {
// type master;
// file "pri.vgsom.iitkgp.ac.in";
//};



//// MAKE MANUAL ENTRIES BELOW THIS LINE! ////

===============================

file /etc/bind/named.conf.options ( shown below )
========================
options {
directory "/var/cache/bind";

// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See http://www.kb.cert.org/vuls/id/800113

// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.

// forwarders {
// 0.0.0.0;
// };
forwarders {
144.16.192.55;
144.16.192.1;
};

auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};
=====================

file : /etc/bind/zones/mislab.vgsom.iitkgp.ac.in.db ( below )

================================================
$ORIGIN .
$TTL 86400
mislab.vgsom.iitkgp.ac.in. IN SOA mislab.vgsom.iitkgp.ac.in. admin.mislab.vgsom.iitkgp.ac.in. (
2010102201 ; serial, todays date + todays serial #
28800 ; refresh, seconds
7200 ; retry, seconds
604800 ; expire, seconds
86400 ) ; minimum, seconds
;
NS mislab.vgsom.iitkgp.ac.in. ; Inet Address of name server 1
// NS mislab.vgsom.iitkgp.ac.in. ; Inet Address of name server 2
;
$ORIGIN mislab.vgsom.iitkgp.ac.in.

IN A 10.43.33.60
test001 IN A 10.43.33.60

=================================================

file /etc/bind/zones/rev.33.43.10.in-addr.arpa ( below)

=================================================
$ORIGIN .
$TTL 86400
33.43.10.IN-ADDR.ARPA IN SOA mislab.vgsom.iitkgp.ac.in. admin.mislab.vgsom.iitkgp.ac.in. (
2010102201 ; serial, todays date + todays serial #
28800 ; refresh, seconds
7200 ; retry, seconds
604800 ; expire, seconds
86400 ) ; minimum, seconds
;
NS mislab.vgsom.iitkgp.ac.in. ; Inet Address of name server 1

;
$ORIGIN 33.43.10.IN-ADDR.ARPA


=================================================
Reply With Quote