-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Description
Describe the bug
Ubuntu 18.04 is unable to resolve *.cognitiveservices.azure.com DNS names by default. As a workaround, we are bypassing the local (stub) DNS server using the following command:
sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
This may be related to https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1822416 and/or #397.
Area for Triage:
Servers
Question, Bug, or Feature?:
Bug
Virtual environments affected
- macOS 10.15
- Ubuntu 16.04 LTS
- Ubuntu 18.04 LTS
- Windows Server 2016 R2
- Windows Server 2019
Expected behavior
Ubuntu 18.04 should be able to resolve *.cognitiveservices.azure.com DNS names by default.
Actual behavior
If we try to resolve a *.cognitiveservices.azure.com DNS name, it fails with SERVFAIL:
However, if we bypass the local (stub) DNS server using the following command:
sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
Then the DNS name can be resolved successfully:
This doesn't repro on Ubuntu 16.04:
Pipeline Sources: https://github.com/mikeharder/AzurePipelineTests/blob/f920bf50f72fe45c1d653a3bbaac9dcaf3df7682/azure-pipelines.yml