Janus TCP/IP Base V7.8 changes: Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
The following features are new or changed in <var class="product">[[Janus TCP/IP Base]]</var>.
The following features are new or changed in <var class="product">[[Janus TCP/IP Base]]</var>.
   
   
==DNS Retries==
==DNS Retries==
Prior to <var class="product">[[Sirius Mods]]</var> Version 7.8,
Prior to <var class="product">[[Sirius Mods]]</var> Version 7.8,
the [[JANUS NAMESERVER]] command had no facility to call for a retry of
the <var>[[JANUS NAMESERVER]]</var> command had no facility to call for a retry of
a DNS UDP packet for which no response is received.
a DNS UDP packet for which no response is received.
This meant that if <var class="product>Janus</var> does a DNS lookup just when the target nameserver
This meant that if <var class="product>Janus</var> does a DNS lookup just when the target nameserver
Line 12: Line 11:
   
   
The version 7.8 "DNS Retries" feature is
The version 7.8 "DNS Retries" feature is
a RETRIES parameter for the JANUS NAMESERVER command.
a <var>RETRIES</var> parameter for the <var>JANUS NAMESERVER</var> command.
Setting RETRIES to a positive integer value, say 2, instructs <var class="product>Janus</var>
Setting <var>RETRIES</var> to a positive integer value, say 2, instructs <var class="product>Janus</var>
to retry as many as two times if no response was received to a DNS lookup.
to retry as many as two times if no response was received to a DNS lookup.
Setting RETRIES to 0, its default, means no retries are attempted.
Setting <var>RETRIES</var> to 0, its default, means no retries are attempted.
   
   
On a swamped network, it is probably better to
On a swamped network, it is probably better to
set a JANUS NAMESERVER TIMEOUT value of, say, 3 and a RETRIES setting of 2, rather than to set TIMEOUT to
set a <var>JANUS NAMESERVER TIMEOUT</var> value of, say, 3 and a <var>RETRIES</var> setting of 2, rather than to set <var>TIMEOUT</var> to 10 with <var>RETRIES</var> at 0. This is so because:
10 with RETRIES 0. This is so because:
*If a packet gets dropped, there is no benefit to waiting 10 seconds instead of 3.
*If a packet gets dropped, there is no benefit to waiting 10 seconds instead of 3.
*It is very unlikely that it would take a nameserver 3 seconds to respond to a received request (including packet turnaround time).
*It is very unlikely that it would take a nameserver 3 seconds to respond to a received request (including packet turnaround time).
   
   
It probably does not make sense to set RETRIES
It probably does not make sense to set <var>RETRIES</var>
to a value greater than 2: if packets are being dropped so frequently
to a value greater than 2: if packets are being dropped so frequently
that three consecutive DNS requests are dropped, you have problems much more serious than the failed lookups.
that three consecutive DNS requests are dropped, you have problems much more serious than the failed lookups.

Revision as of 14:30, 19 June 2012

The following features are new or changed in Janus TCP/IP Base.

DNS Retries

Prior to Sirius Mods Version 7.8, the JANUS NAMESERVER command had no facility to call for a retry of a DNS UDP packet for which no response is received. This meant that if Janus does a DNS lookup just when the target nameserver is down for an instant, or if the UDP packet gets lost on the network (IP networks don't have to guarantee delivery of IP packets), the DNS lookup could fail.

The version 7.8 "DNS Retries" feature is a RETRIES parameter for the JANUS NAMESERVER command. Setting RETRIES to a positive integer value, say 2, instructs Janus to retry as many as two times if no response was received to a DNS lookup. Setting RETRIES to 0, its default, means no retries are attempted.

On a swamped network, it is probably better to set a JANUS NAMESERVER TIMEOUT value of, say, 3 and a RETRIES setting of 2, rather than to set TIMEOUT to 10 with RETRIES at 0. This is so because:

  • If a packet gets dropped, there is no benefit to waiting 10 seconds instead of 3.
  • It is very unlikely that it would take a nameserver 3 seconds to respond to a received request (including packet turnaround time).

It probably does not make sense to set RETRIES to a value greater than 2: if packets are being dropped so frequently that three consecutive DNS requests are dropped, you have problems much more serious than the failed lookups.


Content moved to M204int page of same name, but history preserved here.