Guest User

Untitled

a guest
Sep 14th, 2020
141
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # ls -ld /etc/resolv.conf
  2. lrwxrwxrwx 1 root root 32 Nov 22 2017 /etc/resolv.conf -> /run/systemd/resolve/resolv.conf
  3. # systemctl is-enabled systemd-resolved
  4. enabled
  5. # systemctl is-enabled systemd-networkd
  6. enabled
  7.  
  8. ===== /etc/systemd/network/vpn_vpn.network
  9. [Match]
  10. Name=vpn_vpn
  11.  
  12. [Network]
  13. DHCP=ipv4
  14. LinkLocalAddressing=no
  15. DefaultRouteOnDevice=no
  16. DNSDefaultRoute=no
  17.  
  18. [DHCPv4]
  19. UseDomains=yes
  20. UseHostname=no
  21. UseRoutes=no
  22.  
  23. ===== /etc/nsswitch.conf
  24. # Name Service Switch configuration file.
  25. # See nsswitch.conf(5) for details.
  26.  
  27. passwd: files systemd
  28. group: files systemd
  29. shadow: files
  30.  
  31. publickey: files
  32.  
  33. hosts: files mymachines myhostname resolve [!UNAVAIL=return] dns
  34. networks: files
  35.  
  36. protocols: files
  37. services: files
  38. ethers: files
  39. rpc: files
  40.  
  41. netgroup: files
  42.  
RAW Paste Data