Microsoft Support provided fix for AKS, which I also tested successfully
is:
kubectl get no -o json | jq -r '.items[].spec.providerID' | cut -c 9- | az vmss
run-command invoke --ids @- \
--command-id RunShellScript \
--scripts 'grep nameserver /etc/resolv.conf || { dhclient -x; dhclient -i
eth0; sleep 10; pkill dhclient; grep nameserver /etc/resolv.conf; }'
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1988119
Title:
Update to systemd 237-3ubuntu10.54 broke dns
Status in systemd package in Ubuntu:
Confirmed
Bug description:
Two servers today that updated systemd to "systemd 237-3ubuntu10.54"
https://ubuntu.com/security/notices/USN-5583-1
could not resolve dns anymore.
no dns servers, normally set through dhcp.
Ubuntu 18.04
Temp fix.
1. Edit /etc/systemd/resolved.conf
1. Add/Uncomment # FallbackDNS=168.63.129.16
1. Restart systemd-resolved sudo systemctl restart systemd-resolved.service
1. Confirm dns working with systemd-resolve google.com
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1988119/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp