do I need to configure a Caching Server

techlists at phpcoderusa.com techlists at phpcoderusa.com
Mon Jun 21 16:28:12 UTC 2021


I am setting up a SOHO PHP web server on my business cable account that 
allows for running servers.  This is a product for small home bound 
businesses.

I have BIND working. The website I am hosting  :   
http://www.keiththewebguy.com/


On 2021-06-19 01:14, Reindl Harald wrote:
> Am 18.06.21 um 20:28 schrieb techlists at phpcoderusa.com:
>> I am building a home PHP hosting server for learning.  I have a 
>> commercial connection to the Internet so no blocked ports and my ISP 
>> allows servers.
> 
> unless you are hosting a authoritative zone aka domain on your
> nameserver it don't matter what your ISP allows
> 
> if you are not hosting any official zone you shouldn't have the port
> open to the world because nobody but bots and attackers will ask your
> server anyways
> 
>> I believe I only need a Primary Master Server.  Is this the case?
> 
> what is your usecase to begin with?
> 
> if it's just internal hostnames for your LAN maybe dnsmasq is the
> better solution because it can use simple hostfiles like /etc/hosts
> and forwards everything else to your ISP nameserver
> 
>> My question is, do I need to configure a Caching Server?
> 
> there is nothing to configure, if you ask your named for something
> it's not authoritative it either forwards or doing recursion (depends
> on the configuration) and cache the result based on the TTL
> 
>> In /etc/bind/named.conf.options:
>> 
>> 
>>          [...]
>> 
>>          forwarders {
>>               1.2.3.4;
>>               5.6.7.8;
>>          };
>> 
>>          [...]
>> 
>> Do I need to set the forwarders?
> 
> no
> 
> let named do it's out-of-the-box job which is recursion - i can't
> think of any usecase where i do the work setup a nameserver and then
> forward everything to a crappy ISP server
> 
> after stop using forwarding all random dns problems where gone and
> never came back
> 
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to
> unsubscribe from this list
> 
> ISC funds the development of this software with paid support
> subscriptions. Contact us at https://www.isc.org/contact/ for more
> information.
> 
> 
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users


More information about the bind-users mailing list