My system is using systemd-resolved to manage name resolution.
my /etc/resolv.conf is a symlink to /run/systemd/resolve/stub-resolv.conf
When I connect to GP, my systemd is not aware that new DNS server and search domains are available.
Is there a way to support this ? (like a post connection hook script)
(note that /opt/paloaltonetworks/globalprotect/network/config/resolv.conf is properly filled)
I'm not actually sure that the Linux application supports the ability for post-connection scripts. This would be a relatively easy script to do though, as you would simply modify the symlink between GlobalProtect's resolv.conf and and stub-resolv.conf. I'm just not sure that the Linux agent actually supports the ability to run scripts like the macOS and Windows agents.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!