resolve not working

Discussion in 'Installation/Configuration' started by chief, Oct 10, 2023.

  1. chief

    chief Member HowtoForge Supporter

    ispconfig 3.2.9p1- debian 11
    Hey..
    I have multi server setup and one of my webservers has stopped finding the internet.
    I edit /etc/resolve.conf and it is empty.
    Code:
    resolvectl status
    failed to get global data: Unit dbus-rg.freedesktop.resolve1.service not found.
    Seems it is not installed or not active..
    what command do i need to install / activate it?
    i have to manually add
    Code:
    /etc/resolve.conf
    nameserver 8.8.8.8
    and it works until reboot, need a permanent fix

    dave
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Is network connection lost or just name services does not work?
    Can you ping some server outside you local LAN?
    Add name servers there. Read
    Code:
    man 8 resolvconf
     
  3. chief

    chief Member HowtoForge Supporter

    Hey Taleman
    so, i edit /etc/resolve.conf adding nameserver 8.8.8.8 and reboot, it clears the file.
    I update the debian 11 following:
    https://www.howtoforge.com/how-to-upgrade-from-debian-11-to-debian-12/
    and update ispconfig with:
    https://www.howtoforge.com/update-the-ispconfig-perfect-server-from-debian-11-to-debian-12/
    and then all hell breaks loose:- database server wont start, webserver wont start.. i started trouble shooting.. but so many things wrong.
    finding it wanted me to remove aspell and aspell-en before debian upgrade.. then it had an issue with ssl.so.1.1 i think that was the file name.. complained it couldnt open that shared file..
    so anyway, i rebuilt another server and will move off all sites etc, delete it and rebuild it again as a spare.
    just need to know how to safely delete it from master panel.domain before rebuild and re adding.

    thanks
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Don't do that.
    Instead, read man 8 resolvconf on that host, it tells you how to add nameservers.
     
    ahrasis and chief like this.
  5. chief

    chief Member HowtoForge Supporter

    thank you, now added and it updates on reboot..
    thank you for the knowledge and how it links together.. i understand

    dave
     

Share This Page