You are not logged in.

#1 2016-05-14 14:42:44

benjumanji
Member
Registered: 2011-09-15
Posts: 9

network-manager openconnect dns server ordering

I am using a vanilla setup via network manager. If I connect to my employers VPN at the commandline using openconnect everything works great, and my resolv.conf ends up looking like the following:

# Generated by resolvconf
domain internal.example.com
search internal.example.com default
nameserver 192.168.2.8
nameserver 192.168.2.21
nameserver 192.168.1.1
nameserver 8.8.8.8

The internal dns servers are on 192.168.2.*, my home router is on 192.168.1.1. This is exactly as I'd like things to be, and everything works. If I try to manage it via nmcli / nm-applet then I end up with the following:

# Generated by resolvconf
domain default
search default internal.example.com
nameserver 192.168.1.1
nameserver 192.168.2.8
nameserver 192.168.2.21
nameserver 8.8.8.8

Note the switched order of the settings. Now nothing works as I would like. I would have thought that this could be solved with resolveconf.conf, but having played with the interface_order and dynamic_order setttings to no avail, I am out of ideas.

Anyone?

Last edited by benjumanji (2016-05-14 14:55:19)

Offline

Board footer

Powered by FluxBB