fuel9 / DisplayMonkey

Display Monkey digital signage solution
Other
126 stars 50 forks source link

ENHANCEMENT REQ: Provision display with Hostname rather than IP #180

Open djstevematthews opened 4 years ago

djstevematthews commented 4 years ago

Hi,

I was wondering if anyones managed to change the code to allow hostname rather than IP when adding a display? Ive been looking around the code but cant work out the right place/customisation needed to make it work. I was wondering if anyone here has managed to change it to work with hostname instead.

dan508 commented 4 years ago

I've just tried this, and you can use hostname instead of IP for displays. You don't need to make any changes- just specify the fqdn reather than the IP

djstevematthews commented 4 years ago

hey @dan508 ive just added my machine name under "Edit Display" and in the IP address box and it doesnt seem to work. Ive entered it as ngmeet02 and ngmeet02.domain.com and still doesn't show up. Does this match what you have done?

dan508 commented 4 years ago

@djstevematthews this is what I've got set and it works fine image

djstevematthews commented 4 years ago

I have done the above and still doesnt work no matter what I do. I feel there is something that needs to be done. Does anyone know where in the uncompiled script the "select registered display" bit is so i can have a look at the coding

GettnBetter commented 4 years ago

from the server do an NSLOOKUP and see if the reverse name of the object is present. Whatever is hosting DNS will likely need a reverse PTR record. If this works at all, It's not going to work with only a forward DNS A record.

i.e. from a CMD prompt type nslookup and hit enter. Type the IP address of the device and hit enter. The result should be the URL.