Best practice is to set the tracking server in DTM even if automatic configuration is enabled. To set the tracking server in DTM, click the gear icon next to the Adobe Analytics Tool and expand the 'General' section.
More information on correctly identifying the tracking server here: https://marketing.adobe.com/resources/help/kb/en_US/analytics/kb/determining-data-center.html