ESXI 5.1 and Name Resolution Question



  • Go easy on me.  Been working at this for hours with nothing to show.

    Running ESXI 5.1, 1312873.  Have the following VMs setup with fixed IPs and DNS info pointing towards both 8.8.8.8 and 192.168.1.1.

    192.168.1.1 – pfSense
    192.168.1.2 – Ubuntu Server for UniFi Controller (accessible at https://192.168.1.2:8443/)
    192.168.1.3 – ESXI
    192.168.1.5 – PBX In A Flash
    192.168.1.6 – UnRAID
    192.168.1.7 – Ubuntu Server for ownCloud
    192.168.1.8 – Ubuntu Server for Plex (accessible at http://192.168.1.8:32400/web/index.html#!/dashboard)
    192.168.1.9 – NZBApp
      - Headphones: http://192.168.1.9:8181/home
      - Couchpotato: http://192.168.1.9:8085/home/
      - Sickbeard: http://192.168.1.9:8081/home/

    Similarly to this post: https://forum.pfsense.org/index.php?topic=3292.0, want to be able to type the hostname of the VM (e.g. "pfSense") in the browser of any of the devices on my network and  it would go to its IP (e.g. 192.168.1.1).  Another example would be typing Headphones and arriving at http://192.168.1.9:8181/home.  Read and cannot for the life of me figure out what to do.

    Please help.



  • check services–>dns forwarder-->host/domain overrides

    you'd have to set your clients dns servers @ 192.168.1.1 for this to work


  • Rebel Alliance Global Moderator

    ^ yeah you should only point to dns that has records for your local domain.  Pointing to others that don't is going to cause grief.

    "DNS info pointing towards both 8.8.8.8 and 192.168.1.1. "

    That is bad configuration, unless the 192.168.1.1 is not authoritative for any domain.  Also just putting pfsense or any just hostname is not good idea, names should always be fqdn, ie something like headphones.local.lan, or headphones.name.tld where your local dns is authoritative for name.tld

    You can setup your machines to have a search suffix, domain membership so when you put pfsense into your browser it queries for pfsense.yourdomain.tld

    But pointing to 8.8.8.8 as a possible dns - your never going to be 100% sure which dns your client is going to ask, if he asks 8.8.8.8 for pfsense.yourlocaldomain.tld its not going to work.