|
|
 |
Re: FN-FORUM bind 9
date posted 21st June 2002 15:22
Don't really know BIND 9, but isn't TTL in seconds, so you need something
like:
$TTL 86400
@ IN SOA @ root.localhost (
1123456 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; ttl //**** I think you can also put 1h30m, but I think the max
TTL in SOA is 3 hours
)
As these are (according to named.conf) reverse zones
the entries should go something like:
209 IN PTR router.mydomain.co.uk.
You might want to use $ORIGIN for belt and braces in your zone files
Surely you can't have something in a zone file that isn't from that zone EG
you can't have a 127 in a 192 zone file (or a 192.168.254 in a 192.168.1 ).
Anyway, aren't these the reverse zone files. Where's the master/forward zone
file?
This a typical reverse zone file entry for localhost
zone "0.0.127.in-addr.arpa" {
type master;
file "localhost.rev";
notify no;
};
and this for a forward zone on a primary
zone "mydomain.co.uk" {
type master;
file "mydomain.co.uk.db";
// IP addresses of secondaries allowed to request zone transfers
allow-transfer {
192.168.254.14;
};
I think you can use named-checkconf to check the syntax of named.conf
What is the function of this name server? Primary (authoritative/master),
secondary (slave), caching only, forwarder???
Hope this gives some hints. Unfortunately, I only do MS DNS now! (But a zone
file is a zone file)
Kathy
----- Original Message -----
From: "Rob Garbutt" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Friday, June 21, 2002 1:28 PM
Subject: FN-FORUM bind 9
> Hi,
>
> Thanks for all your help on bind 9.
>
> I've changed pz/127.0.0 like you say but still get the same error.
>
> I've included the 2 files, would it be possible for you top have a look at
> them as its really doing me nut in why it won't run properly.
>
> I've followed the protocol at www.linix-sxs.org/bind9.html is this right?
> can you suggest another/better way? or is this how you do it?
>
> It instructs to create a pz/127.0.0 file which obviously is the loopback,
> but it also suggests to create a 192.168.1 file which I'm unsure of why
this
> number? The IP address of the machine bind is running on is
192.168.254.209
> and the hostname is ns1.pserve.co.uk.
>
> i've also included my named.conf file.
>
> it would highly highly highly appreciated if anyone could shed any light
on
> it!!!
>
> Robin Garbutt
> Portfolio Art & Design Ltd
> Tel - +44 (0) 1204 383822
> Fax - +44 (0) 1204 383866
> Mob - +44 (0) 7811 185490
> e-mail - [EMAIL REMOVED]
>
> For further information please visit us at :-
> www.portfoliodesign.net
>
> The contents of this e-mail are confidential to the ordinary user of the
> e-mail address to which it was addressed and may also be privileged. If
you
> are not the addressee of this e-mail you may not copy, forward, disclose
or
> otherwise use it or any part of it in any form whatsoever. If you have
> received this e-mail in error please e-mail the sender.
>
>
|
 |
|