waydroid / waydroid

Waydroid uses a container-based approach to boot a full Android system on a regular GNU/Linux system like Ubuntu.
https://waydro.id
GNU General Public License v3.0
7.22k stars 301 forks source link

[BUG] No DNS resolution without firewalls or any custom DNS server installed #1419

Closed myyc closed 1 month ago

myyc commented 1 month ago

Describe the bug

ping 1.1.1.1 works, and waydroid can ping any IP in my network, but it can't resolve anything. ping google.com doesn't work.

i don't have systemd-resolved or anything else running on my machine, and i don't have any firewall enabled (ufw, etc.).

Waydroid version

1.4.2

Device

Linux Desktop

Operating System

Arch Linux

Kernel version

6.9.1-zen1-2-zen

Desktop Environment

GNOME 46

GPU

AMD 7840U (iGPU)

Logs

# /var/lib/waydroid/waydroid.prop
sys.use_memfd=true
debug.stagefright.ccodec=0
ro.hardware.gralloc=gbm
ro.hardware.egl=mesa
ro.hardware.vulkan=radeon
ro.hardware.camera=v4l2
ro.opengles.version=196609
waydroid.system_ota=https://ota.waydro.id/system/lineage/waydroid_x86_64/VANILLA.json
waydroid.vendor_ota=https://ota.waydro.id/vendor/waydroid_x86_64/MAINLINE.json
waydroid.tools_version=1.4.2
ro.vndk.lite=true
waydroid.host.user=o
waydroid.host.uid=1000
waydroid.host.gid=1000
waydroid.host_data_path=/home/user/.local/share/waydroid/data
waydroid.xdg_runtime_dir=/run/user/1000
waydroid.pulse_runtime_path=/run/user/1000/pulse
waydroid.wayland_display=wayland-0
waydroid.background_start=false
waydroid.stub_sensors_hal=1

# /var/lib/waydroid/waydroid.cfg
[waydroid]
arch = x86_64
vendor_type = MAINLINE
system_datetime = 1716009473
vendor_datetime = 1714216970
suspend_action = freeze
mount_overlays = True
images_path = /var/lib/waydroid/images
system_ota = https://ota.waydro.id/system/lineage/waydroid_x86_64/VANILLA.json
vendor_ota = https://ota.waydro.id/vendor/waydroid_x86_64/MAINLINE.json
binder = anbox-binder
vndbinder = anbox-vndbinder
hwbinder = anbox-hwbinder
binder_protocol = aidl3
service_manager_protocol = aidl3

[properties]

# /var/lib/waydroid/waydroid_base.prop
sys.use_memfd=true
debug.stagefright.ccodec=0
ro.hardware.gralloc=gbm
ro.hardware.egl=mesa
ro.hardware.vulkan=radeon
ro.hardware.camera=v4l2
ro.opengles.version=196609
waydroid.system_ota=https://ota.waydro.id/system/lineage/waydroid_x86_64/VANILLA.json
waydroid.vendor_ota=https://ota.waydro.id/vendor/waydroid_x86_64/MAINLINE.json
waydroid.tools_version=1.4.2
ro.vndk.lite=true
myyc commented 1 month ago

no idea what the problem was. i wiped waydroid and reinstalled, works now.