Article View: demon.tech.unix
Article #266Re: DNS
From: Robin
Date: Sat, 25 Nov 2000 00:00
Date: Sat, 25 Nov 2000 00:00
72 lines
3285 bytes
3285 bytes
Ian Northeast wrote:
> Do you want a caching or a forwarding DNS? A caching DNS will not cache
> off any DNS in particular, it makes reference to the root nameservers
> directly, using a hints file. Red Hat ship bind configured as a caching
> (only) DNS by default, I don't know if Mandrake do. The clause that sets
> up a caching DNS is:
>
> zone "." {
> type hint;
> file "named.ca";
> };
yep .. thats how its set up by default .. mandrake is just dedrat with
KDE on top. But you're right .. I don;t want that ...
> Forwarding is different; the nameserver doesn't know the root
> nameservers but instead forwards all requests it cannot answer to other
> nominated nameservers. It will also cache - all nameservers cache. Here
> you would put:
>
> forwarders { 158.152.1.58; 158.152.1.43; };
ahh .. now thats wod I want ..
> Internet etiquette suggests that you should obtain permission before
> forwarding to someone else's nameserver; as a Demon customer I should
> not think they would make any difficulty.
presumably i already am forwarding requests out of netscape, etc. etc.
so I guess that permision is implicit when you sign up to demon, but
i'll ask over on demon service to be sure.
> >
> > I've played around with my /etc/named.conf but its a) making my head
> > hurt and b) not working. I;d really appreciate any good tips/short
> > howtos / copies of your named.bott and named.conf and a sample master
> > file I can understand cos its beginning to bug me :)
>
> Named.boot is for bind4. Named.conf for bind8. I am assuming that as you
> are runnning a recent looking Mandrake you have bind8.
yup bind 8 .. so ignore ill ignore named.boot its obviously a hangover
[sic] from a previous install.
> You have to build the zone files too of course. This will get too long
> if I post samples of these. You should obtain a copy of "DNS and Bind"
> by Cricket & Liu, O'Reilly 1-56592-512-2, from any good computer
> bookshop. The authors provide a Perl script called "h2n", which is in a
> package of utilities which can be obtained from
>
> ftp://ftp.ora.com/published/orielly/nutshell/dnsbind/dns.tar.Z
>
> H2n will take /etc/hosts and build the bind files.
>
> But I *really* recommend the book.
I'll look on the network bookshelf CD .. failing that I'll order it.
cheers .. most helpful.
i'll be back asking more questions when i got some part of it working
...
--
robin
ng@rszemeti.demon.co.uk but replace ng with my name
I _really_ hate spam .....
Technical Details
Message-ID:
<3A20125A.323B3A0F@rszemeti.demon.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3A1FB75E.817BE42D@rszemeti.demon.co.uk> <3A1FF45F.14995C2D@house-from-hell.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fac57,1350787abd1bf1a9 X-Google-Attributes: gidfac57,public From: Robin <ng@rszemeti.demon.co.uk> Subject: Re: DNS Date: 2000/11/25 Message-ID: <3A20125A.323B3A0F@rszemeti.demon.co.uk> X-Deja-AN: 697674279 Content-Transfer-Encoding: 7bit X-NNTP-Posting-Host: rszemeti.demon.co.uk:158.152.98.107 References: <3A1FB75E.817BE42D@rszemeti.demon.co.uk> <3A1FF45F.14995C2D@house-from-hell.demon.co.uk> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 975180384 nnrp-12:9083 NO-IDENT rszemeti.demon.co.uk:158.152.98.107 MIME-Version: 1.0 Newsgroups: demon.tech.unix