You are not logged in.
Hi.
How it's working? Because after setting this type, nothing is displayed / sending at all.
Same with type "IP address".
Last edited by WebGreg (2023-06-02 13:41:35)
--
GLPI 10.0.7
GLPI-Inventory 1.2.1
Ubuntu Server 20.04 LTS
Offline
Hi
This question relies on DNS resolution from the IP of the coputer used to submit a form. It is possible that your server failed to resolve the IP, then you get an empty string in the answer.
Open a console on your server then try to issue a command nslookup with the IP of the computer used when the form has been filled. If a few hours or more elapsed since the form has been filled, you shoud try to resolve the IP of some computers which are running right now. Check also the DNS configuration of your domain controller, if any.
No support with MP - Always run an upgrade task on a testing instance before running it on production! Always backup before any upgrade task!
Offline
Thank you. Indeed, nslookup by ip returns an error. Although pings work by name and by ip.
--
GLPI 10.0.7
GLPI-Inventory 1.2.1
Ubuntu Server 20.04 LTS
Offline
Hi
Reverse DNS is not working well. You should investigate in your DNS server to fix that.
No support with MP - Always run an upgrade task on a testing instance before running it on production! Always backup before any upgrade task!
Offline
Hi btry
I already getting the computer name after 'nslookup ip' command. However, hostname field only returns an IP address.
--
GLPI 10.0.7
GLPI-Inventory 1.2.1
Ubuntu Server 20.04 LTS
Offline
Hi
I don't know on which computer you ran nslookup. you should test on the server itself. Also, in AD environments it is quite common to have a misconfigured reverse DNS resolution. For a given IP to resolve, it may work at a given moment but fail later. It depends on many things.
I cannot help much as this is very likely out of scope of GLPI or Formcreator. Just be aware that Formcreator relies on reverse DNS. If the answer contains an IP then reverse resolution failed. There is absolutely no algorithm in the plugin to resolve an IP into a hostname.
No support with MP - Always run an upgrade task on a testing instance before running it on production! Always backup before any upgrade task!
Offline
Yes, the test was done on the GLPI server as you suggested earlier.
Previously, nslookup was returning an error at all. Now I get a response with the name, but as I mentioned - I only see the IP address in the hostname field.
In general, I did not notice any problems with accessing the station, either by IP or by name, in the network. I only have trouble here.
--
GLPI 10.0.7
GLPI-Inventory 1.2.1
Ubuntu Server 20.04 LTS
Offline