diff --git a/src/freedombone-app-pihole b/src/freedombone-app-pihole
index a47c57c533a026cb46fb12361a7481a99545dfd8..db3049efa9247922e28ba08fae952a14e9dbe7ad 100755
--- a/src/freedombone-app-pihole
+++ b/src/freedombone-app-pihole
@@ -79,6 +79,14 @@ function pihole_update {
         return
     fi
 
+    if [[ $(config_param_exists WIFI_INTERFACE) == "0" ]]; then
+        PIHOLE_IFACE=eth0
+    else
+        read_config_param WIFI_INTERFACE
+        PIHOLE_IFACE=$WIFI_INTERFACE
+        write_config_param "PIHOLE_IFACE" "$PIHOLE_IFACE"
+    fi
+
     IPv4_address=$(get_ipv4_address)
     IPv6_address=$(get_ipv6_address)