Can't connect to OMV using hostname on local network

  • After trying (unsuccessfully) to set up port forwarding and a dynamic IP for remote access, I've somehow made things worse by removing the ability to connect to my OMV server using its hostname.


    My OMV server is (currently) set up with hostname "openmediavault", no domain name, and a DHCP IP address. DNS servers are set as 192.168.0.1,8.8.8.8 (I have no problems connecting to external hosts from OMV: the issue is connecting to the openmediavault hostname).


    I can connect to the webgui using the IP address, but any attempts to connect to or ping the hostname are unsuccessful. nslookup returns that there is no such domain as openmediavault.


    Going to the configuration page of my router, there appears to be a DHCP entry for the OMV server as expected:


    but as mentioned, I can't connect to the hostname on the local network:

    Code
    nslookup openmediavault
    Server:  mygateway
    Address:  192.168.0.1
    
    *** mygateway can't find openmediavault: Non-existent domain

    Does anyone have any suggestions as to what might be going on here? It feels like a DNS problem, but I'm not sure what to do about it.


    Additional info:

    /etc/network/interfaces

    /etc/resolv.conf:

    Code
    # 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
    nameserver 8.8.8.8
    search home

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!