Re: Bind as a chaching nameserver
Denis R. wrote: http://cr.yp.to/djbdns/guarantee.html Richard, besides simple you want a _secure_ caching name server. Yes, you can type "named_enable" in rc.conf and be done with it, just don't forget to periodically check the security updates web page for BIND exploits. Thanks for the advice guys. I've got named up and running and so far I think its caching the DNS requests (well its serving them OK). I'm not really going to see the benefits of this on SpamAassassin till its database is full of requests is their anywhere (i.e. root-servers.net) that I can get a bind file which reduced this time period? Cheers Richard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Bind as a chaching nameserver
AND make sure that either /etc/resolv.conf doesn't exist or that it contains a single nameserver line like this: nameserver 127.0.0.1 otherwise your local nameserver isn't queried. You see, there's really nothing else to do on a standard installation of freebsd... 1- named_enable="YES" in /etc/rc.conf 2- either delete /etc/resolv.conf or use nameserver 127.0.0.1 The default /etc/namedb/named.conf that comes installed does exactly what you want. -- Miguel Qua, 2006-04-26 às 08:05 +0100, Martin Hepworth escreveu: > Richard > > just set the forwarders to another nameserver in the named.conf and that's > it.. > > this will speed up SA massively. > > -- > martin > > On 4/25/06, Richard Collyer <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > I've recently been getting a lot of trouble with SpamAssassin performing > > a lot of rDNS lookups which is causing network issues (timeouts etc to > > DNS servers). > > > > I am trying to install BIND (or djbdns) as a simple caching nameserver. > > Just to take some of the load off the networks DNS servers (my ISPs). > > > > However I am having trouble finding a good tutorial to follow. > > > > I've looked at > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html > > but its mainly going on about being a nameserver which is not what I am > > after, wanting to keep it more simple than that. > > > > [EMAIL PROTECTED]:/usr/local/etc] $ named -v > > BIND 9.3.1 > > > > Can anyone suggest me a good tutorial to follow, I've googled but mostly > > they are for debain/redhat and some of the commands and files are > > different. > > > > Cheers > > Richard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Bind as a chaching nameserver
http://cr.yp.to/djbdns/guarantee.html Richard, besides simple you want a _secure_ caching name server. Yes, you can type "named_enable" in rc.conf and be done with it, just don't forget to periodically check the security updates web page for BIND exploits. Regards! Richard Collyer wrote: > Hello, > > I've recently been getting a lot of trouble with SpamAssassin performing > a lot of rDNS lookups which is causing network issues (timeouts etc to > DNS servers). > > I am trying to install BIND (or djbdns) as a simple caching nameserver. > Just to take some of the load off the networks DNS servers (my ISPs). > > However I am having trouble finding a good tutorial to follow. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Bind as a chaching nameserver
Richard Collyer wrote: Hello, I've recently been getting a lot of trouble with SpamAssassin performing a lot of rDNS lookups which is causing network issues (timeouts etc to DNS servers). I am trying to install BIND (or djbdns) as a simple caching nameserver. Just to take some of the load off the networks DNS servers (my ISPs). However I am having trouble finding a good tutorial to follow. I've looked at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html but its mainly going on about being a nameserver which is not what I am after, wanting to keep it more simple than that. [EMAIL PROTECTED]:/usr/local/etc] $ named -v BIND 9.3.1 Can anyone suggest me a good tutorial to follow, I've googled but mostly they are for debain/redhat and some of the commands and files are different. DJB's instructions for running a cache on a workstation is the simplest set of instructions I know of. I've used them for years with great success o all my servers. Good for web and mail servers as well SA. http://cr.yp.to/djbdns/run-cache.html I also recommend the SpamAssassin Wiki. Look under the heading "Performance Tips:". http://wiki.apache.org/spamassassin/UsingSpamAssassin DAve -- This message was checked by forty monkeys and found to not contain any SPAM whatsoever. Your monkeys may vary ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Bind as a chaching nameserver
On Wed, Apr 26, 2006 at 09:27:27AM +0100, Richard Collyer wrote: > Yep I've set the named.conf up correctly but when I do "ndc start" it > tells me that it is not found. With BIND 9.3.1, you'd probably want 'rndc', but even then, '/etc/rc.d/named start' would do it for you, if you have named_enable="YES" in your /etc/rc.conf. -- Riemer PalstraAmsterdam, The Netherlands [EMAIL PROTECTED]http://www.palstra.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Bind as a chaching nameserver
On Wed, April 26, 2006 8:05 am, Martin Hepworth wrote: > Richard > > just set the forwarders to another nameserver in the named.conf and that's > it.. > > this will speed up SA massively. > > -- Yep I've set the named.conf up correctly but when I do "ndc start" it tells me that it is not found. I'll do some more digging. Cheers -- Richard Collyer [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Bind as a chaching nameserver
Richard just set the forwarders to another nameserver in the named.conf and that's it.. this will speed up SA massively. -- martin On 4/25/06, Richard Collyer <[EMAIL PROTECTED]> wrote: > > Hello, > > I've recently been getting a lot of trouble with SpamAssassin performing > a lot of rDNS lookups which is causing network issues (timeouts etc to > DNS servers). > > I am trying to install BIND (or djbdns) as a simple caching nameserver. > Just to take some of the load off the networks DNS servers (my ISPs). > > However I am having trouble finding a good tutorial to follow. > > I've looked at > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html > but its mainly going on about being a nameserver which is not what I am > after, wanting to keep it more simple than that. > > [EMAIL PROTECTED]:/usr/local/etc] $ named -v > BIND 9.3.1 > > Can anyone suggest me a good tutorial to follow, I've googled but mostly > they are for debain/redhat and some of the commands and files are > different. > > Cheers > Richard > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Bind as a chaching nameserver
> Hello, > > I've recently been getting a lot of trouble with SpamAssassin performing > a lot of rDNS lookups which is causing network issues (timeouts etc to > DNS servers). > > I am trying to install BIND (or djbdns) as a simple caching nameserver. > Just to take some of the load off the networks DNS servers (my ISPs). > > However I am having trouble finding a good tutorial to follow. > > I've looked at > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html > but its mainly going on about being a nameserver which is not what I am > after, wanting to keep it more simple than that. > > [EMAIL PROTECTED]:/usr/local/etc] $ named -v > BIND 9.3.1 > > Can anyone suggest me a good tutorial to follow, I've googled but mostly > they are for debain/redhat and some of the commands and files are > different. > > Cheers > Richard Richard, What you need is a caching DNS. See para 25.6.7. If you don't use forwarders this will bypass your ISPs DNS. There are other solutions too, try Google for them. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Bind as a chaching nameserver
For a caching nameserver simply follow the instructions in named.conf. Enable named in rc.conf, and start the daemon. -Derek At 05:50 PM 4/25/2006, Richard Collyer wrote: Hello, I've recently been getting a lot of trouble with SpamAssassin performing a lot of rDNS lookups which is causing network issues (timeouts etc to DNS servers). I am trying to install BIND (or djbdns) as a simple caching nameserver. Just to take some of the load off the networks DNS servers (my ISPs). However I am having trouble finding a good tutorial to follow. I've looked at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html but its mainly going on about being a nameserver which is not what I am after, wanting to keep it more simple than that. [EMAIL PROTECTED]:/usr/local/etc] $ named -v BIND 9.3.1 Can anyone suggest me a good tutorial to follow, I've googled but mostly they are for debain/redhat and some of the commands and files are different. Cheers Richard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Bind as a chaching nameserver
Hello, I've recently been getting a lot of trouble with SpamAssassin performing a lot of rDNS lookups which is causing network issues (timeouts etc to DNS servers). I am trying to install BIND (or djbdns) as a simple caching nameserver. Just to take some of the load off the networks DNS servers (my ISPs). However I am having trouble finding a good tutorial to follow. I've looked at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html but its mainly going on about being a nameserver which is not what I am after, wanting to keep it more simple than that. [EMAIL PROTECTED]:/usr/local/etc] $ named -v BIND 9.3.1 Can anyone suggest me a good tutorial to follow, I've googled but mostly they are for debain/redhat and some of the commands and files are different. Cheers Richard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"