You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2022-06-20 16:21:54

fabounio
Member
Registered: 2022-06-02
Posts: 33

Get ip adresses of computer nameserver settings ?

hi, i am looking for a way to find pc / server that still have old dns ip configuration.
i am using GLPI-agent 1.2 and GLPI 10.0.0. the only infos i've found is IP and MAC adress. no indication about DNS settings.
maybe a plugin ? i have read in a old post that dns settings were present on the Xml file..

thanks for yours advices.

Offline

#2 2022-06-20 23:32:10

WebGreg
Member
Registered: 2020-02-27
Posts: 751

Re: Get ip adresses of computer nameserver settings ?

Windows?

I dodn't try but in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{...}\  \v NameServer

In GLPI Inventory there is (if I remember correctly) a job to read data from the register.


--
GLPI 10.0.17
GLPI-Inventory 1.4.0
Ubuntu Server 20.04 LTS

Online

#3 2022-06-22 14:25:15

gbougard
Moderator
From: Montpellier, France
Registered: 2021-07-21
Posts: 554
Website

Re: Get ip adresses of computer nameserver settings ?

As far I remember, dns configuration is not inventoried and no field is reserved for in GLPI. I'm not sure this is a good idea as DNS setting is dynamic and can change while using a VPN for example.

Anyway you should probably use the Collect task for doing so. This task permits to collect data from registry. You will need GlpiInventory plugin to create such task.


GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer

Online

Board footer

Powered by FluxBB