nach i-MSCP installation keine DNS Auflösung mehr möglich

  • Hier das Szenario (so genau wie möglich beschrieben):


    Hetzner Root:
    Core i7-2600, 16GB RAM, 2*3TB HDD mit SW-Raid1
    Debian 7.6, OpenVZ, OpenVZ-Webpanel (OWP)


    vServer mit OWP ertellen (nur IPv4, 3 Hetzner DNS eingetragen)
    per SSH einloggen -> KLAPPT
    apt-get update && apt-get upgrade -> KLAPPT
    reboot -> zum testen neu gestartet
    apt-get update -> KLAPPT
    cd /usr/local/src/
    wget i-MSCP ->(natürlich mit dem genauen link)
    tar IMSCP
    cd 1.1.13 -> (mal als Beispiel die neueste Version)
    perl imscp-autoinstall -d -> läuft komplett durch
    i-MSCP läuft gut
    reboot -> noch ein reboot zum testen
    apt-get update -> KLAPPT NICHT. KANN DIE ADRESSEN NICHT AUFLÖSEN
    ping google.com -> unknown host
    nano /etc/resolv.conf -> nur 127.0.0.1 als nameserver drin


    die 3 Hetzner Nameserver in die /etc/resolv.conf eingetragen
    apt-get update und ping klappt


    reboot und dann sind die 3 wieder weg.
    die 3 in /etc/resolvconf/resolv.conf.d/head eingetragen
    reboot
    apt-get update klappt weil die 3 jetzt in der /etc/resolv.conf drin sind


    getestet mit i-MSCP 1.1.12, 1.1.13, GIT-Stable IMMER auf einem frisch installierten System !!!


    bei i-MSCP 1.1.11 und nach dem Update von 1.1.11 auf 1.1.12 oder 1.1.13 besteht das Problem nicht !!!



    Ist das nun endlich nach langer Zeit mal ein Problem was ich gefunden hab?

  • Ich hatte dieses hook geschrieben weil wenn ich benutzte lokal resolver die konfig von hosts und resolv.conf und named war gelöscht.


    Sorry für meinem deutsch :-)

  • no problem ;)


    maybe @Nuxwin knows it:


    - up to 1.1.11 it works fine. (resolve from non-local nameserver i.e. if you want to ping google.com)
    - in 1.1.12/1.1.13/Git-Stable is anything, which prevents resolving from non-local nameservers
    - it is only on fresh install of i-MSCP and not when upgrading.


    all tests are made with the same settings during install-process of i-MSCP


    i think it is a bug. ;)

  • @FISA4


    And maybe you'll try to explain me ;)

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

  • ok Nuxwin. i explain:


    i´ve installes a fresh vserver with wheezy.
    after that apt-get update && apt-get upgrade
    then i`ve installed i-MSCP 1.1.13 like 1000000000 times before (mayybe some times less)
    after a reboot of the vserver i can´t ping domains which are not on this vserver. (i.e. google.com) ping answers with unknown host
    apt-get update results with:


    i have to add the 3 hetzner DNS servers by hand into /etc/resolv.conf
    this works untill nthe next reboot.


    as a reason i am lazy, i´ve add the 3 DNS into /etc/resolvconf/resolv.conf.d/head
    then it works after a reboot.


    i hope i explained it clear enough. if not, i can give you root access to this machine.
    it´s a testserver, so it is no problem to install new as often as you want.

  • @FISA4


    Normally, if your DNS server is running correctly, the following entry:


    Code
    1. nameserver 127.0.0.1


    in your /etc/resolv.conf file is sufficient. i-MSCP override this file and it's expected. The local DNS server is protected for external query but locally, this should works. The question is: what was your choice for the DNS server during i-MSCP installation ?



    Refs:

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

  • i know that this is normally that the resolve.conf will be overwritten, but why do i can resolve google.com if i install 1.1.11 and update to 1.1.12/1.1.13/git-stable
    if i install 1.1.12/1.1.13/git-stable on a fresh system i can not ping google.com, apt-get update, wget
    it is only working if i add i.e. 213.133.98.98 an nameserver in resolve.conf


    as i said, it works until 1.1.11 fine


    on imscp install i choose every time the same:
    bind9, master, no slave, resolve locally yes.