DNS restore is in progress. Please try again later.
Hello,
i am running Forticlient 7.4.3 on Ubuntu. Sometimes my client works, then when i shut down my laptop and turn it back on i keep getting this error. No restart can help in any ways. Some time passes (it generally feels random: sometimes it's like 5 mins, sometimes more than one hour passes by and the problem persists.
Then suddenly i manage to log in my vpn again...
Any suggestions on what to do?
I have this script that i run often after i restart my computer: this helps me out altering my connections and enabling the DNS again, because it seems the forticlient enters some DNS in my wifi connections, so i need to remove these entries:
#!/bin/bash # List current running connections and allow user to select one using fzf connection_drop_name=$(nmcli c show --active | awk 'NR>1 {print $1}' | fzf --prompt="Select a connection to drop: ") # Check if a connection was selected if [ -z "$connection_drop_name" ]; then echo "No connection selected. Exiting." # exit 1 fi # Bring down the selected connection nmcli c down "$connection_drop_name" # List current running connections and allow user to select one using fzf connection_name=$(nmcli c show --active | awk 'NR>1 {print $1}' | fzf --prompt="Select a connection to RESET: ") # Check if a connection was selected if [ -z "$connection_name" ]; then echo "No connection selected. Exiting." exit 1 fi # Modify the connection to reset DNS settings nmcli c modify "$connection_name" ipv6.dns "" nmcli c modify "$connection_name" ipv4.dns "" nmcli c modify "$connection_name" ipv6.dns-search "" nmcli c modify "$connection_name" ipv4.dns-search "" nmcli c modify "$connection_name" ipv4.ignore-auto-dns "no" nmcli c modify "$connection_name" ipv6.ignore-auto-dns "no" nmcli c modify "$connection_name" ipv4.ignore-auto-routes "no" nmcli c modify "$connection_name" ipv6.ignore-auto-routes "no" nmcli c modify "$connection_name" ipv4.routes "" nmcli c modify "$connection_name" ipv6.routes "" # Restart the network manager to apply changes sudo systemctl restart NetworkManager sudo systemd-resolve --flush-caches