FIX: Name resolution error occurs when IPv6 is disabled on startup in SQL Server 2017 on Linux

Applies to: SQL Server 2017 Developer LinuxSQL Server 2017 Enterprise on LinuxSQL Server 2017 Enterprise Core on Linux

Symptoms


Consider that Internet Protocol Version 6 (IPv6) is disabled on startup for SQL Server 2017 on Linux. Therefore, any outbound connections that are initiated by SQL Server to connect to linked server or to secondaries of an availability group by hostname will fail with an error because of name resolution problems.

Workaround


Use Internet Protocol (IP) address instead of hostname to connect to SQL Server or remove the parameter ipv6.disable=1 in boot cmdline file to enable IPv6.

Resolution


This issue is fixed in the following cumulative update for SQL Server:

       Cumulative Update 2 for SQL Server 2017

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References


Learn about the terminology that Microsoft uses to describe software updates.