After changing from DHCP to static eth0 and a new start of OMV the DNS entry in the resolv.conf is no longer exists:

  • Hi,


    After changing from DHCP to static eth0 and a new start of OMV the DNS entry in the resolv.conf is
    no longer exists:


    root@NAS3:~# cat /etc/resolv.conf
    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
    # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN



    After changing from static to DHCP , DNS Eintag is available again:


    root@NAS3:~# cat /etc/resolv.conf
    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
    # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
    nameserver 192.168.0.1



    How can Fix this?
    Thank you


    mixmaster

  • thanks @subzero79,



    Try /etc/init.d/networking restart


    Here is the output:




    Zitat

    if it doesn't work just place the entry manually with nano in resolv.conf


    after restart of OMV is the DNS entry but no longer in the/etc/resolv.confavailable. the same result. :(

  • @mixmaster,


    Have you assign OMV IP to static in your router?
    Ensure the OMV IP and MAC address is match in your router.
    Reboot the router, and OMV after the process.


    Code
    DHCPREQUEST on eth0 to 255.255.255.255 port 67


    Subnet mask should be 255.255.255.0.
    Double check your network settings in OMV web gui such as gateway, IP, DNS...

    OMV v5.0
    Asus Z97-A/3.1; i3-4370
    32GB RAM Corsair Vengeance Pro

    4 Mal editiert, zuletzt von tinh_x7 ()

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!