Re: Caching DNS Server?

2004-11-10 Thread Dick Davies
* Andrew Smith [EMAIL PROTECTED] [1104 17:04]:
 I want to setup a Caching DNS server for my network using FreeBSD 5.3.  
 Can someone point me in the right direction with what port I need to install
 and any links to installation guides?

You can use bind as others have suggested , though I found that pdnsd was good 
for 
frequently rebooted machines (dual-boot laptops for example) as it saves cached 
zones
to disk.

-- 
That question was less stupid; though you asked it in a profoundly stupid way. 
- Prof. Farnsworth
Rasputin :: Jack of All Trades - Master of Nuns
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Caching DNS Server?

2004-11-09 Thread Andrew Smith
I want to setup a Caching DNS server for my network using FreeBSD 5.3.  Can 
someone point me in the right direction with what port I need to install and 
any links to installation guides?

Thanks in Advance!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Caching DNS Server?

2004-11-09 Thread Hexren
AS I want to setup a Caching DNS server for my network using FreeBSD 5.3.  Can 
someone point me in the right direction with what port I need to install and 
any links to installation guides?

AS Thanks in Advance!
AS ___
AS [EMAIL PROTECTED] mailing list
AS http://lists.freebsd.org/mailman/listinfo/freebsd-questions
AS To unsubscribe, send any mail to [EMAIL PROTECTED]

-

I found this very helpful. Note that it is not FreeBSD specific but
focuses more ob BIND.

http://langfeldt.net/DNS-HOWTO/BIND-9/DNS-HOWTO.html#toc5


The DNS section in the FreeBSD Handbook.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Caching DNS Server?

2004-11-09 Thread Benjamin Sobotta
Hi

This might help:

http://www.de.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html

You don't need to install any ports. BIND9 is part of the FreeBSD.

Ben

On Tuesday 09 November 2004 16:56, Andrew Smith wrote:
 I want to setup a Caching DNS server for my network using FreeBSD 5.3.  Can
 someone point me in the right direction with what port I need to install
 and any links to installation guides?

 Thanks in Advance!
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Caching DNS Server?

2004-11-09 Thread Danny MacMillan
On Tue, Nov 09, 2004 at 09:56:42AM -0700, Andrew Smith wrote:
 I want to setup a Caching DNS server for my network using FreeBSD 5.3.
 Can someone point me in the right direction with what port I need to
 install and any links to installation guides?

No doubt BIND can do this ... but I find djbdns much easier to configure.
The following URL outlines what you need to do, and is dead simple:

http://cr.yp.to/djbdns/run-cache-x.html

Install the /usr/ports/dns/djbdns port, then head to the above page.  Don't
forget to set up daemontools (it will be installed as a dependency but
requires some configuration).

-- 
Danny
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Caching DNS Server?

2004-11-09 Thread Andrew Smith
Ok I think I've got bind working correctly, in resolve.conf I've only put 
127.0.0.1 as the nameserver and I'm able to ping stuff on the internet.  Is 
there anyway I can test to see if it's actually caching my requests?  Where 
is the cache stored?

FYI,
The only things I did to /etc/named/named.conf was comment-out the listen-on 
line and put in my ISP DNS servers in the forwarders.  I also deleted all 
the zone information.

Andrew
- Original Message - 
From: Benjamin Sobotta [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: Andrew Smith [EMAIL PROTECTED]
Sent: Tuesday, November 09, 2004 2:30 PM
Subject: Re: Caching DNS Server?


Hi
This might help:
http://www.de.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html
You don't need to install any ports. BIND9 is part of the FreeBSD.
Ben
On Tuesday 09 November 2004 16:56, Andrew Smith wrote:
I want to setup a Caching DNS server for my network using FreeBSD 5.3. 
Can
someone point me in the right direction with what port I need to install
and any links to installation guides?

Thanks in Advance!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Caching DNS Server?

2004-11-09 Thread Benjamin Walkenhorst
Danny MacMillan wrote:
No doubt BIND can do this ... but I find djbdns much easier to configure.
 

I have never tried out djbdns, so I cannot say for myself, and I also 
understand that apparently
djbdns has caused similarly intense discussions as KDE-vs-GNOME or 
vi-vs-emacs; so I want to
make clear that I am not ranting about djbdns.

But I don't really find BIND hard to configure as a caching nameserver. 
I run BIND on my NetBSD machine
doing exactly that, and the caching part took  no modification to the 
default configuration to work.

On the other hand, like I said, I haven't worked with djbdns so far - 
from what I know it seems to be
worth trying.
I'm just a lazy person, so I never bothered trying when I had BIND 
installed already. =) And since
I've been working on a BIND4-to-BIND9-migration for the recent months I 
got kind of used to it.

Still, I really like the idea of having seperate servers for resolving 
recursive queries and for hosting zones,
since this affects both security and performance. Nominum, the company 
that wrote BIND9, offers a commercial,
closed-source nameserver as well, that also uses different servers for 
caching and hosting authoritative zon data.

Then again, performance shouldn't differ for home use.
Kind regards,
Benjamin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Caching DNS Server?

2004-11-09 Thread Danny MacMillan
On Tue, Nov 09, 2004 at 12:06:14PM -0700, Benjamin Walkenhorst wrote:
 Danny MacMillan wrote:
 
  No doubt BIND can do this ... but I find djbdns much easier
  to configure.
 
 I have never tried out djbdns, so I cannot say for myself, and
 I also understand that apparently djbdns has caused similarly
 intense discussions as KDE-vs-GNOME or vi-vs-emacs; so I want
 to make clear that I am not ranting about djbdns.

Understood, but it wouldn't matter to me if you were.  I've
never understood why so many people seem so badly to want to
make others' software choices for them.  I like djbdns, but
I'm not ego-attached to it.  The same disclaimer applies to
what I'm about to say; I'm not looking for converts.

Besides, real men edit files with cat and sed.  :)

 But I don't really find BIND hard to configure as a caching
 nameserver.  I run BIND on my NetBSD machine doing exactly
 that, and the caching part took  no modification to the
 default configuration to work.

I've actually never tried running BIND as just a caching server,
just as an authoritative server.  To me, it seemed unnecessarily
complex.  Actually, it just seemed complex.  The 'unnecessarily'
was added after I tried djbdns.

 On the other hand, like I said, I haven't worked with djbdns
 so far - from what I know it seems to be worth trying.  I'm
 just a lazy person, so I never bothered trying when I had BIND
 installed already. =) And since I've been working on a BIND4-
 to-BIND9-migration for the recent months I got kind of used to
 it.

I'm lazy too.  That's why after seeing how djbdns and bind stack
up complexity wise on authoritative servers, I went with djbdns
on the caching side :)  I find that djbdns works the way I think,
BIND definitely doesn't -- but not everyone has to think the way
I do.

 Still, I really like the idea of having seperate servers for
 resolving recursive queries and for hosting zones, since this
 affects both security and performance.

Yeah, that's the reasoning that made me try djbdns in the
first place.  My experience with BIND is fairly limited though
so I can't actually make an objective comparison.

 Nominum, the company that wrote BIND9, offers a commercial,
 closed-source nameserver as well, that also uses different
 servers for caching and hosting authoritative zon data.
 
 Then again, performance shouldn't differ for home use.

Probably not.

-- 
Danny
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Caching DNS Server?

2004-11-09 Thread Rob
Andrew Smith wrote:
Ok I think I've got bind working correctly, in resolve.conf I've only 
put 127.0.0.1 as the nameserver and I'm able to ping stuff on the 
internet.  Is there anyway I can test to see if it's actually caching my 
requests?  Where is the cache stored?
The size of the cache you get like this, for example:
$ top -U bind -n | grep named | awk '{print $6}'
4228K
In /var/named/etc/namedb/named.conf I have following lines:
# file created by 'rndc dumpdb'
dump-file   /var/dump/named_dump.db;
# files created by 'rndc stats'
statistics-file /var/stats/named.stats;
memstatistics-file /var/stats/named.memstats;
You can create these files with rndc command, but the files are
not so easy to understand.
Rob.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]