Bug 1222221 - openconnect does jnot update DNS servers
Summary: openconnect does jnot update DNS servers
Status: NEW
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Network (show other bugs)
Version: Leap 15.5
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Rick Salevsky
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-01 23:13 UTC by Aaron Williams
Modified: 2024-05-21 15:42 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Williams 2024-04-01 23:13:59 UTC
I have my desktop configured with a static IP address via NetworkManager.  After switching from Wicked to Network Manager, however, openconnect is no longer adding the VPN DNS servers to resolv.conf.

After I connect to the VPN, I see /run/netconfig/tun0/netconfig0 which contains the appropriate values, but netconfig does not pick them up.

cat /run/netconfig/tun0/netconfig0
CREATETIME='775090'
SERVICE='vpnc'
INTERFACE='tun0'
DNSSERVERS='10.xx.yy.xx 10.ww.xxx.yy'
DNSDOMAIN='aaaaaaa.com bbbbbbbbb.com cccccc.com ddddddd.org eee.com fffffff.com'

/run/netconfig/resolv.conf does not contain any of this data, however. This requires that I must manually edit resolv.conf every time I connect to my VPN.
Comment 1 Aaron Williams 2024-04-04 08:17:18 UTC
This may be due to my settings. I found a way around it by using an alternative script and switching to dnsmasq.