diff --git a/CentOS-8-GenericCloud.ks b/CentOS-8-GenericCloud.ks
index b01ecfe..ca4ca21 100644
--- a/CentOS-8-GenericCloud.ks
+++ b/CentOS-8-GenericCloud.ks
@@ -60,6 +60,9 @@ NETWORKING=yes
 NOZEROCONF=yes
 EOF
 
+# Remove build-time resolvers to fix #16948
+echo > /etc/resolv.conf
+
 # For cloud images, 'eth0' _is_ the predictable device name, since
 # we don't want to be tied to specific virtual (!) hardware
 rm -f /etc/udev/rules.d/70*
diff --git a/CentOS-8-Stream-GenericCloud.ks b/CentOS-8-Stream-GenericCloud.ks
index f273564..eb25737 100644
--- a/CentOS-8-Stream-GenericCloud.ks
+++ b/CentOS-8-Stream-GenericCloud.ks
@@ -60,6 +60,9 @@ NETWORKING=yes
 NOZEROCONF=yes
 EOF
 
+# Remove build-time resolvers to fix #16948
+echo > /etc/resolv.conf
+
 # For cloud images, 'eth0' _is_ the predictable device name, since
 # we don't want to be tied to specific virtual (!) hardware
 rm -f /etc/udev/rules.d/70*