Details
-
Bug
-
Resolution: Fixed
-
Critical
-
6.6.1
-
Untriaged
-
1
-
Unknown
Description
When the alerts subsystem in ns_server has been enabled and when the alert fires it calls ns_mail:send which usingĀ gen_smtp_client module, which calls smtp_util:mxlookup function, this resets the lookup option to "[native]". See below,
(n_0@127.0.0.1)1> inet:getaddr("cb.local", inet). |
{ok,{127,0,0,1}} |
(n_0@127.0.0.1)2> inet_db:res_option(lookup). |
[file,native] |
|
(n_0@127.0.0.1)6> smtp_util:mxlookup("gmail.com"). |
[{5,"gmail-smtp-in.l.google.com"}, |
{10,"alt1.gmail-smtp-in.l.google.com"}, |
{20,"alt2.gmail-smtp-in.l.google.com"}, |
{30,"alt3.gmail-smtp-in.l.google.com"}, |
{40,"alt4.gmail-smtp-in.l.google.com"}] |
(n_0@127.0.0.1)7> |
|
|
(n_0@127.0.0.1)7> inet:getaddr("cb.local", inet). |
{error,nxdomain}
|
(n_0@127.0.0.1)8> inet_db:res_option(lookup). |
[native] |
This may cause us to lose connectivity to cb.local nodes.
Attachments
Issue Links
- is duplicated by
-
MB-53339 Failure to restart memcached
- Resolved