resolv.conf – no nameserver is created

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

This topic contains 1 reply, has 2 voices, and was last updated by caprea Mar 11-4:42 pm.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #19333
    Member
    male
    male

    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.

    • This topic was modified 1 week ago by male.
    #19339
    Member
    caprea
    caprea

    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.