Add a test case that if the first primary fails, the fallback of a second primary on plain DNS works. This is mainly to test that the port configuration inheritance works correctly. (cherry picked from commit 622a499027)
622a499027