resolv.conf – no nameserver is created

Forum Forums News Sid Upgraders resolv.conf – no nameserver is created

  • This topic has 1 reply, 2 voices, and was last updated Mar 11-4:42 pm by caprea.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #19333
    Anonymous

      I’ll write this if someone’s facing the same problem.
      Here I have written:

      -There were a few errors, e.g. no nameserver is created for the connection to the network. The /etc/resolv.conf respectively
      /etc/resolvconf/run/resolv.conf is always empty when restarted. After manual entry of the name server, the system is connected to the network. Where can I set this correctly again?

      There are some solutions like these, but they didn’t help me.
      The file is always empty.

      But what works now, you create this file
      /etc/dhcp/dhclient-enter-hooks.d/nodnsupdate
      with this content

      #!/bin/sh
      make_resolv_conf()
      {
        :
      }
      

      then you make it executable and voila, it works.

      #19339
      Moderator
      caprea
        Helpful
        Up
        0
        ::

        I’ll write this if someone’s facing the same problem.
        Here I have written:

        …and there have been rumors antiX isn’t beautiful.

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.