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:[email protected]] On Behalf Of Stefan 
Carlsson
Sent: Tuesday, May 9, 2017 5:36 AM
To: [email protected]
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.

________________________________
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to