Ubuntu 16.04 LTS

  • Hello,


    currently I am installing a new system using Ubuntu 16.04 LTS. By installing it uninstalled my resolvconf tool (and therefore no dns lookups possible after ist).


    I know how to install it again - so no problem, but I think this is a bug, isn't it?

  • Hello,


    The resolvconf package is only uninstalled if you choosen external server for the Bind9 question.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Is this really the best solution? Because if you uninstall resolvconf there is no longer a dns support, isn't it?

  • @UncleSam


    When resolvconf package is not installed, the /etc/resolv.conf file is static. So, if you add entries manually in the /etc/resolv.conf file, they won't be removed. If you really need resolvconf, just reinstall it manually.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • ah ok, i thought there is a need of resolvconf to use /etc/resolv.conf. But after uninstalling resolvconf the file is empty. Maybe you can add a default dns server likt googles 8.8.8.8 if it is empty (that it is possible to go on).

  • @UncleSam


    Exactly, you can add entries such as:


    Code
    1. nameserver 8.8.8.8
    2. nameserver 8.8.4.4

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • I have the same Issue.


    So I added to the /etc/resolv.conf

    Code
    1. nameserver 8.8.8.8nameserver 8.8.4.4


    and restart with /etc/init.d/networking restart


    but the dns don't resolve.



    Shell-Script
    1. root@srv:/etc# /etc/init.d/networking restart
    2. [ ok ] Restarting networking (via systemctl): networking.service.
    3. root@srv:/etc# ping google.de
    4. ping: unknown host google.de

    I can't reinstall resolvconf, because the dns don't resolve!