Cant ping domain names(DNS problem?)

  • When I try to ping google.com I get this: ping: unknown host google.com.
    When I ping 8.8.8.8 then there is no problem.


    I have tried manually setting the interface dns to 8.8.8.8 but that doesn't change anything.
    OMW is new to me so it can be something stupid I have overlooked.


    hope someone can help :)


    Also a side question: The firewall has a default allow all rule if I have not made any rules myself right?

    • Offizieller Beitrag

    ping 8.8.8.8 doesn't use dns. Did you set dns nameserver in the web interface?


    Everything is allowed when there are no firewall rules.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I know that 8.8.8.8 doesn't use DNS. It was just to show that it probably is a DNS problem :)
    Yes I used the web interface to change the DNS.
    Also shouldn't it work with the router DNS from DHCP?

    • Offizieller Beitrag

    In a properly functioning network, the router should do dns. No idea what kind of setup you have. What is the output of:


    cat /etc/network/interfaces
    cat /etc/resolv.conf

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • With DNS from DHCP


    cat /etc/network/interfaces
    The loopback network interface
    auto lo
    iface lo inet loopback


    # eth0 network interface
    auto eth0
    allow-hotplug eth0
    iface eth0 inet dhcp
    iface eth0 inet6 manual
    pre-down ip -6 addr flush dev $IFACE


    cat /etc/resolv.conf
    search local
    nameserver 192.168.0.1


    With Manual DNS


    cat /etc/network/interfaces
    # The loopback network interface
    auto lo
    iface lo inet loopback


    # eth0 network interface
    auto eth0
    allow-hotplug eth0
    iface eth0 inet dhcp
    dns-nameservers 8.8.8.8
    iface eth0 inet6 manual
    pre-down ip -6 addr flush dev $IFACE


    cat /etc/resolv.conf
    search local
    nameserver 192.168.0.1

    • Offizieller Beitrag

    What version of OMV? None of your output looks like it is being written correctly.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • 2.1.23 64 bit


    I can also say that I made this server together with a friend(1 each) and we both have the same problem even though we are at to different places/networks.


    Edit:
    The only thing we have installed is Plex.

    • Offizieller Beitrag

    If you have omv-extras installed, post the output of: omv-showkey network

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • omv-showkey network

    • Offizieller Beitrag

    You shouldn't need to set DNS when using DHCP. If it doesn't work when using DHCP without setting DNS, you meed to check your router. I would use static ip though.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • static ip was also the plan I just hit this problem before I got to set up static ip.
    I dont think it is my router when my other 2 computer have no problem with DHCP and my friend with another router and internet have the same problem.
    We did the exact same thing when we installed OMW and Plex. So I think we did the same thing wrong to.

Jetzt mitmachen!

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