From: Ahsan Ali <ahsanali@gmail.com>
To: "gracecott@sancharnet.in" <gracecott@sancharnet.in>
Cc: linux-admin@vger.kernel.org
Subject: Re: setting up bind
Date: Thu, 8 Jul 2004 12:34:42 +0500 [thread overview]
Message-ID: <17daa85604070800341ca90540@mail.gmail.com> (raw)
In-Reply-To: <29522919.1089271290615.JavaMail.nobody@ndl1pp2-a-fixed>
Your named isnt starting because of errors in your named.conf. You can
look in /var/log/messages for more information on whats going wrong.
I am pasting my previous reply to you here on the list.
==========================================================
In /etc/named.conf
zone "com" {type delegation-only;};
Should look something like this:
=======================
zone "pcm.com" IN {
type master;
file "/var/named/pcm.com.zone";
};
zone "10.in-addr.arpa" IN {
type master;
file "/var/named/10.in-addr.arpa.zone";
};
=======================
In your file /var/named/pcm.com.zone you should have:
==================================================
$TTL 86400
$ORIGIN pcm.com.
@ 1D IN SOA ns.pcm.com. root (
2004070703 ; serial
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
1D IN NS 10.0.1.2
nms 1D IN A 10.0.1.25
ns 1D IN A 10.0.1.2
(and so on for each host)
==================================================
In your /var/named/10.in-addr.arpa.zone
==================================================
@ IN SOA ns.pcm.com. root.pcm.com. (
2004070702 ; serial
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
@ NS ns.pcm.com.
NS nms.pcm.com.
$ORIGIN 1.0.10.in-addr.arpa.
2 PTR ns.pcm.com.
25 PTR nms.pcm.com.
(and so on for each host)
==================================================
I hope this helped.
Sorry I dont have time right now to go through all your zone files as
I am in a bit of a rush at the moment. I think you can customize the
above examples to suit your needs. I tend to keep my zone files in
/var/named whereas from your config it looks like you keep them in
/etc/bind. Please adjust to suit your needs.
Regards,
Ahsan Ali
State Bank of Pakistan
======================================================
next prev parent reply other threads:[~2004-07-08 7:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-08 7:21 Re:setting up bind gracecott
2004-07-08 7:34 ` Ahsan Ali [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-07-08 7:51 gracecott
2004-07-09 3:57 ` Glynn Clements
2004-07-10 7:02 ` setting " joy
2004-07-02 14:12 joy
2004-07-02 22:23 ` Glynn Clements
2004-07-07 7:00 ` Ahsan Ali
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=17daa85604070800341ca90540@mail.gmail.com \
--to=ahsanali@gmail.com \
--cc=gracecott@sancharnet.in \
--cc=linux-admin@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).