Skip to main content
JoshuaGiligan
New Member
April 28, 2022
Question

UBUNTU - DNS resoled service is being restart by vpn client every 2 min

Hello,

i am facing an issue of DNS resolved service restart every 2 min by forticlient.

this cause an interruption in the DNS service.

any idea how to turn the DNS restart by the client?

this is on Ubuntu 20.04 environment

logs from fortyclient

 

10:16:11.012 [sslvpn:DEBG] dns:735 Reset DNS
20220324 10:16:11.060 [sslvpn:DEBG] dns:124 Restart DNS service successfully.
20220324 10:16:11.062 [sslvpn:DEBG] dns:134 Flush DNS cache successfully.
20220324 10:18:11.015 [sslvpn:DEBG] dns:735 Reset DNS
20220324 10:18:11.068 [sslvpn:DEBG] dns:124 Restart DNS service successfully.
20220324 10:18:11.070 [sslvpn:DEBG] dns:134 Flush DNS cache successfully.
20220324 10:20:11.012 [sslvpn:DEBG] dns:735 Reset DNS
20220324 10:20:11.085 [sslvpn:DEBG] dns:124 Restart DNS service successfully.
20220324 10:20:11.087 [sslvpn:DEBG] dns:134 Flush DNS cache successfully.
20220324 10:22:11.011 [sslvpn:DEBG] dns:735 Reset DNS
20220324 10:22:11.075 [sslvpn:DEBG] dns:124 Restart DNS service successfully.
20220324 10:22:11.078 [sslvpn:DEBG] dns:134 Flush DNS cache successfully.
20220324 10:24:11.012 [sslvpn:DEBG] dns:735 Reset DNS
20220324 10:24:11.061 [sslvpn:DEBG] dns:124 Restart DNS service successfully.
20220324 10:24:11.064 [sslvpn:DEBG] dns:134 Flush DNS cache successfully.
20220324 10:26:11.015 [sslvpn:DEBG] dns:735 Reset DNS
20220324 10:26:11.071 [sslvpn:DEBG] dns:124 Restart DNS service successfully.
20220324 10:26:11.074 [sslvpn:DEBG] dns:134 Flush DNS cache successfully.
20220324 10:28:11.015 [sslvpn:DEBG] dns:735 Reset DNS
20220324 10:28:11.066 [sslvpn:DEBG] dns:124 Restart DNS service successfully.
20220324 10:28:11.068 [sslvpn:DEBG] dns:134 Flush DNS cache successfully.
20220324 10:30:11.014 [sslvpn:DEBG] dns:735 Reset DNS
20220324 10:30:11.068 [sslvpn:DEBG] dns:124 Restart DNS service successfully.
20220324 10:30:11.071 [sslvpn:DEBG] dns:134 Flush DNS cache successfully.
20220324 10:32:11.017 [sslvpn:DEBG] dns:735 Reset DNS
20220324 10:32:11.066 [sslvpn:DEBG] dns:124 Restart DNS service successfully.
20220324 10:32:11.069 [sslvpn:DEBG] dns:134 Flush DNS cache successfully.
20220324 10:34:11.013 [sslvpn:DEBG] dns:735 Reset DNS
20220324 10:34:11.061 [sslvpn:DEBG] dns:124 Restart DNS service successfully.
20220324 10:34:11.063 [sslvpn:DEBG] dns:134 Flush DNS cache successfully.

  

3 replies

jintrah_FTNT
Staff
Staff
April 29, 2022

Hi,

 

Please check if below helps,

 

# resolved service deactivated
systemctl disable systemd-resolved.service
systemctl stop systemd-resolved

# parameter in config add
/etc/NetworkManager/NetworkManager.conf
[main]
dns=default

# symlink delet
rm /etc/resolv.conf
systemctl restart network-manager

 

Best regards,

Jin

JoshuaGiligan
New Member
May 1, 2022

Hi jin,

thanks for the quick reply, please elaborate on what this change should do and why it will stop the service restart

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT