Hacker News new | past | comments | ask | show | jobs | submit login

The only reason it's using systemd at all is because on Fedora /etc/resolv.conf is a soft link to /run/systemd/resolve/resolv.conf. As it states in the file ...

  # This file is managed by man:systemd-resolved(8). Do not edit.
  #
  # This is a dynamic resolv.conf file for connecting local clients directly to
  # all known uplink DNS servers. This file lists all configured search domains.
  #
  # Third party programs should typically not access this file directly, but only
  # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
  # different way, replace this symlink by a static file or a different symlink.
  #
  # See man:systemd-resolved.service(8) for details about the supported modes of
  # operation for /etc/resolv.conf.
So if you don't want to use systemd for DNS then just replace the soft link with your own file. For static servers that makes sense; you're going to want to configure resolv.conf to use your own company/data center nameservers. But for not laptops where systemd is managing the DHCP service and the details (and nameservers) will change depending on your location.



Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: