[MXS-1660] Failure to resolve hostname is considered an error Created: 2018-02-08  Updated: 2020-08-25  Resolved: 2018-02-12

Status: Closed
Project: MariaDB MaxScale
Component/s: Authenticator
Affects Version/s: 2.1.13
Fix Version/s: 2.1.14, 2.2.2

Type: Bug Priority: Major
Reporter: Geoff Montee (Inactive) Assignee: Johan Wikman
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MXS-1626 [MySQLAuth] Client hostname lookup f... Closed

 Description   

If MaxScale fails to resolve a client's hostname, then the MaxScale log contains errors like the following:

2018-02-06 17:26:01   error  : [MySQLAuth] Client hostname lookup failed, getnameinfo() returned: 'Name or service not known'.

Should this really be considered an error? It seems more appropriate for this to be a "warning" or "notice".

Also, maybe the message should contain the IP address of the client that MaxScale failed to resolve?



 Comments   
Comment by Johan Wikman [ 2018-02-09 ]

Yes, this could be downgraded to a warning.

Comment by Johan Wikman [ 2018-02-12 ]

Downgraded to warning and the looked up IP-address is logged as well.

Generated at Thu Feb 08 04:08:27 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.