[OpenSIPS-Users] How can I prevent Opensips to cache DNS queries.

Mundkowsky, Robert rmundkowsky at ets.org
Wed May 10 09:13:26 EDT 2017


What do you mean you "disabled the resolver"?

I haven't play with this in a long time, but I think the /etc/nsswitch.conf file defines if you use /etc/hosts file or/and DNS for looking up host names, and might allow nis+ as well, but I can't remember.

So might want to check if you happen to have your hostname defined in the hosts file.  Also seems people note that /etc/resolv.conf might be overwrite at boot based on using NetworkManager.  So maybe your settings are being over written.

Robert

From: Users [mailto:users-bounces at lists.opensips.org] On Behalf Of Stefan Carlsson
Sent: Tuesday, May 9, 2017 5:36 AM
To: Users at lists.opensips.org
Subject: [OpenSIPS-Users] How can I prevent Opensips to cache DNS queries.

Hi !

It seems that the Opensip 2.2 caches DNS queries !!!

Even after I disabled the resolver in Centos, the OpenSIPs seems to "remember" old queries. (eg. IP's)
after a Opensip restart, the old stuff was gone.

If so, how can I disable the DNS caching in the Opensips, I want the system to always make a new , fresh
query.


Kind Regards / Vänligen ...

Stefan Carlsson


________________________________

This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited.


Thank you for your compliance.

________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170510/73668940/attachment.html>


More information about the Users mailing list