We have Always-On Availability Group for two different setup:
Always-On Setup 1 with Listener1:
3 Servers in one data center and 2 servers in another data center
Always-On Setup 2 with Listener2:
3 Servers in one data center and 2 servers in another data center
Here we created ODBC Connection on all nodes under setup 1. Under this ODBC connection we have used Listener2 so that connections will point to primary node under Setup 2. we have created linked server on each node under setup1 which uses ODBC connection behind the scene to support multi-subnet failover.
SSL is configured on all nodes under both setup.
Now my question is:
Which Protocol will be used by linked server on nodes under setup 1 here to connect listener2: TCP or UDP or both?
Will this linked server communication be encrypted using SSL by default?