Email stopped working after update

I performed an update during the weekend and now my outgoing email stopped working.
This is the error message:

can you help please?

[Errno -2] Name or service not known
Traceback (most recent call last):
  File "/home/frappe/frappe-bench/apps/frappe/frappe/email/", line 424, in send_one
    smtpserver.sess.sendmail(email.sender, recipient.recipient, encode(message))
  File "/home/frappe/frappe-bench/apps/frappe/frappe/email/", line 224, in sess
    raise_(frappe.ValidationError, e, traceback)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/email/", line 197, in sess
    cint(self.port) or None)
  File "/usr/lib64/python2.7/", line 255, in __init__
    (code, msg) = self.connect(host, port)
  File "/usr/lib64/python2.7/", line 315, in connect
    self.sock = self._get_socket(host, port, self.timeout)
  File "/usr/lib64/python2.7/", line 290, in _get_socket
    return socket.create_connection((host, port), timeout)
  File "/usr/lib64/python2.7/", line 553, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
ValidationError: [Errno -2] Name or service not known

Similar Issue, please if this helps.

so to give an update and perhaps help others. (I don’t use gmail, I have my own mail server)

I was running and the problem was there.

ERPNext: v10.1.42 (master)
Frappe Framework: v10.1.39 (master)

I just did an update and I’m on the latest version at the time of writing

ERPNext: v10.1.43 (master)
Frappe Framework: v10.1.42 (master)

and the problem is gone. So it seems that there was a bug.