Mailinglist Archive: opensuse-factory (339 mails)

< Previous Next >
[opensuse-factory] No Search suffix in resolv.conf
  • From: Michal Hlavac <miso@xxxxxxxxx>
  • Date: Sat, 09 Sep 2017 21:10:19 +0200
  • Message-id: <9070136.E0gmYI2KvM@hlknb>
Hi,

my home openvpn server is configured to send DHCP search suffix 'lan'.
So I expect that there is 'search lan' in my resolv.conf, but it isn't.

You can see in log that openvpn server send DNS Domain: 'lan'

LOG:
vpn-connection[0x55a44d9c50f0,be3afb53-bcc1-4cef-a6ef-dbdf611a44fe,"home
VPN",4:(tun0)]: Data: Tunnel Device: "tun0"
vpn-connection[0x55a44d9c50f0,be3afb53-bcc1-4cef-a6ef-dbdf611a44fe,"home
VPN",4:(tun0)]: Data: IPv4 configuration:
vpn-connection[0x55a44d9c50f0,be3afb53-bcc1-4cef-a6ef-dbdf611a44fe,"home
VPN",4:(tun0)]: Data: Internal Gateway: 192.168.8.5
vpn-connection[0x55a44d9c50f0,be3afb53-bcc1-4cef-a6ef-dbdf611a44fe,"home
VPN",4:(tun0)]: Data: Internal Address: 192.168.8.6
vpn-connection[0x55a44d9c50f0,be3afb53-bcc1-4cef-a6ef-dbdf611a44fe,"home
VPN",4:(tun0)]: Data: Internal Prefix: 32
vpn-connection[0x55a44d9c50f0,be3afb53-bcc1-4cef-a6ef-dbdf611a44fe,"home
VPN",4:(tun0)]: Data: Internal Point-to-Point Address: 192.168.8.5
vpn-connection[0x55a44d9c50f0,be3afb53-bcc1-4cef-a6ef-dbdf611a44fe,"home
VPN",4:(tun0)]: Data: Maximum Segment Size (MSS): 0
vpn-connection[0x55a44d9c50f0,be3afb53-bcc1-4cef-a6ef-dbdf611a44fe,"home
VPN",4:(tun0)]: Data: Static Route: 192.168.10.0/24 Next Hop: 192.168.8.5
vpn-connection[0x55a44d9c50f0,be3afb53-bcc1-4cef-a6ef-dbdf611a44fe,"home
VPN",4:(tun0)]: Data: Static Route: 192.168.8.1/32 Next Hop: 192.168.8.5
vpn-connection[0x55a44d9c50f0,be3afb53-bcc1-4cef-a6ef-dbdf611a44fe,"home
VPN",4:(tun0)]: Data: Forbid Default Route: yes
vpn-connection[0x55a44d9c50f0,be3afb53-bcc1-4cef-a6ef-dbdf611a44fe,"home
VPN",4:(tun0)]: Data: Internal DNS: 192.168.8.1
vpn-connection[0x55a44d9c50f0,be3afb53-bcc1-4cef-a6ef-dbdf611a44fe,"home
VPN",4:(tun0)]: Data: DNS Domain: 'lan'
vpn-connection[0x55a44d9c50f0,be3afb53-bcc1-4cef-a6ef-dbdf611a44fe,"home
VPN",4:(tun0)]: Data: No IPv6 configuration
vpn-connection[0x55a44d9c50f0,be3afb53-bcc1-4cef-a6ef-dbdf611a44fe,"home
VPN",4:(tun0)]: VPN plugin: state changed: started (4)
vpn-connection[0x55a44d9c50f0,be3afb53-bcc1-4cef-a6ef-dbdf611a44fe,"home
VPN",4:(tun0)]: VPN connection: (IP Config Get) complete
device (tun0): state change: unmanaged -> unavailable (reason
'connection-assumed', internal state 'external')

dns-resolver module called
Resolved dns-policy 'auto' for service 'NetworkManager' to 'STATIC_FALLBACK
NetworkManager'
Static Fallback
Use NetworkManager policy merged settings
exec get_dns_settings: /var/run/netconfig/NetworkManager.netconfig
get_dns_settings: service 'NetworkManager' => rank '1'
get_dns_settings: DNS_SEARCHLIST_1=''
get_dns_settings: DNS_SERVERS_1='192.168.8.1 192.168.43.1'
exit get_dns_settings: /var/run/netconfig/NetworkManager.netconfig
write_resolv_conf: ' ' ' 192.168.8.1 192.168.43.1 '
Installing new /etc/resolv.conf


thanks, m.

--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages