>frequency: usually every 5 minutes (or so)

this is regulary done once in a minute

>although there is a
>occasional burst of 3 or 4 tests in a minute
 
only if at least one DNS-server does not answer and the availabe 
DNS-server count is less than the configured value - and there may be more 
DNS checks per minute in this case

>  Is there a way to permanently set the test interval to, say, every 4
>hours?

In theory yes - it is hard coded.

But NO. DNS queries are used for several checks. All checks for one mail 
can produce hundreds of dns queries. So, it is important for assp to know, 
which DNS-servers are available and how long it takes to query each of 
them. Most important is NOT to query any unavailable or slow answering 
DNS-server, because of the possibe timeout delay.

The hostname used to check the DNS-servers can be configured. Having a 
long TTL for this entry will force the DNS-server to answer from its cache 
in some milliseconds. Not a big deal in relation to (possibly) several 
thousand queries done in the minute before.

Keeps the question: Why should this query interval be changed?

Thomas




Von:    James Moe <ji...@sohnen-moe.com>
An:     For Users of ASSP <assp-user@lists.sourceforge.net>
Datum:  24.06.2017 20:36
Betreff:        [Assp-user] How to reduce the frequency of Name Server 
response tests



Hello,
  assp 2.5.5 ()
  linux 4.4.70-18.9-default x86_64
  perl 5.18.2

  ASSP tests the response of DNS name servers with unnecessary
frequency: usually every 5 minutes (or so) although there is a
occasional burst of 3 or 4 tests in a minute.
  Is there a way to permanently set the test interval to, say, every 4
hours?

-- 
James Moe
moe dot james at sohnen-moe dot com
520.743.3936
Think.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Assp-user mailing list
Assp-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-user






DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally 
privileged and protected in law and are intended solely for the use of the 

individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no 
known virus in this email!
*******************************************************

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Assp-user mailing list
Assp-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to