April 30, 2008
View 1c1e0aa1f1

- better support for no ipv6 (-DUSE_IPV6 not defined) - more functions changed to static

Andrei Pelinescu-Onciul authored on 30/04/2008 19:52:25
February 11, 2008
View 7905e2d6ed

- use_dns_cache can be enabled/disabled runtime - dns_cache_init is introduced: if set to 0, the dns cache is not initialized, and cannot be enabled later (default is 1) - dst_blacklist_init is introduced: if set to 0, the dst blacklist is not initialized (similar to dns_cache_init) (default is 1)

Miklos Tirpak authored on 11/02/2008 17:11:59
View 2cfcc6bb1b

DNS resolver and cache parameters use the configuration framework that makes the config variables changeable on-the-fly.

Miklos Tirpak authored on 11/02/2008 09:58:29
January 15, 2008
View dbfd4d13d0

When searching list of records from dns cache entry which has already expired, use the last valid timestamp when checking expiration time of the records. It can happen when the entry was retrieved just before it expires. It can also expire before the next round of server lookup with SRV failover.

Michal Matyska authored on 15/01/2008 15:14:53
November 13, 2007
View d2040d537e

typo fixed, courtesy of Aldred E. H.

Jiri Kuthan authored on 13/11/2007 16:01:38
October 11, 2007
View 5c20debe40

- don't include expired entries in DNS cache view output

Vladimir Marek authored on 11/10/2007 06:07:02
October 9, 2007
View be7a883c54

- fix: when dns or blacklist are disabled, reply with an error from the corresponding rpc function (way better then crashing)

Andrei Pelinescu-Onciul authored on 09/10/2007 20:35:50
View 16d4e07948

- coding style (mainly identations) & some comments / spelling

Andrei Pelinescu-Onciul authored on 09/10/2007 19:56:08
September 6, 2007
View 4c52255abc

Replaced rpc->struct_add by rpc->printf for view functions. If the cache/blacklist contained many entries then SER had problem with number of chunks. The solution with printf is working for 8000 entries in the blacklist without any problem.

Vladimir Marek authored on 06/09/2007 15:11:09
August 22, 2007
View 5015222069

dns_get_server_state() implemented which returns the state of the DNS servers

Miklos Tirpak authored on 22/08/2007 15:10:13
August 21, 2007
View 4136d1916a

dns_cache_del_nonexp configuration option is introduced: it allows deletion of non-expired records from the DNS cache when the cache becomes full. Disabled by default.

Miklos Tirpak authored on 21/08/2007 11:08:15
August 13, 2007
View 2f013551b4

memset() was sometimes bypassed for some reason in dns_cache_clone_entry()

Miklos Tirpak authored on 13/08/2007 14:33:57
July 31, 2007
View 3c8a86545c

- DNS cache measurements added

Gergely Kovacs authored on 31/07/2007 13:27:09
July 26, 2007
View ba813ed5ac

New RPC commands which manipulate the content of the DNS cache:

Miklos Tirpak authored on 26/07/2007 11:32:01
View f682fd712c

DNS watchdog support implementation: a SER module or an external application can inform the core that the DNS servers are down. No DNS query is performed in this case, and even expired entries are used from the cache. Use dns_set_server_state() function from modules or the dns.set_server_state RPC command to set the sate of the DNS servers.

Miklos Tirpak authored on 26/07/2007 11:18:34