diff --git a/src/modules/corex/doc/corex_admin.xml b/src/modules/corex/doc/corex_admin.xml index f9572b54f04..203ada5d2f6 100644 --- a/src/modules/corex/doc/corex_admin.xml +++ b/src/modules/corex/doc/corex_admin.xml @@ -93,6 +93,60 @@ modparam("corex", "alias_subdomains", "kamailio.org") modparam("corex", "alias_subdomains", "udp:sip-router.org:5060") ... + + + +
+ <varname>dns_cache</varname> (string) + + Add A or AAAA records to internal DNS cache at startup. It can be set + many times to add more than one record. + + + The format of the value follows the SIP params style: + "attr1=val1;attr2=val2;...". The attributes can be: + + + + + type - it can be "A" (IPv4) or "AAAA" (IPv6) + + + + + name - the domain name + + + + + addr - the IP address + + + + + ttl - TTL value + + + + + flags - can be: 1 - the domain is unresolvable + (like blacklisted); 2 - the record is permanent (never times out, + never deleted, never overwritten) + + + + + + Default value is NULL. + + + + Set <varname>dns_cache</varname> parameter + +... +modparam("corex", "dns_cache", "type=A;name=kamailio.org;addr=193.22.119.66;ttl=3600000;flags=0") +modparam("corex", "dns_cache", "type=AAAA;name=kamailio.org;addr=2a00:d60:0:400::2;ttl=3600000;flags=0") +...