sivann / itdb

IT Items Database
http://www.sivann.gr/software/itdb/
GNU General Public License v3.0
154 stars 105 forks source link

Feature: Update IPv4 based on hostname of item from DNS via NET_DNS2 #39

Closed Chefkeks closed 7 years ago

Chefkeks commented 9 years ago

This feature updates the IPv4 based on the hostname of an item from DNS via NET_DNS2.

Please review and hopefully include this useful feature. Saves a lot of time when you don't want to update the IPv4 every time a item gets a new IPv4. Especially for items not statically entered in DNS this feature will be a real time saver.

Btw. Recursive requests are performed, so enter the local DNS server and if it's correctly configured you'll then be able to lookup every hostname available in other DNS servers (non-authoritative answers) ;)

Settings with DNS: image

Item with full qualified hostname "sivann.gr" and ITDB-IPv4 213.239.215.88 matches the IPv4 retrieved by the DNS which results in a green color: image

Items with a different IPv4 (DNS vs. ITDB) will show in yellow color: image

Items which cannot be resolved in DNS show in red color: image

Please review this useful feature and let us know what you think!

Regards @slicki and @Chefkeks

sivann commented 8 years ago

Can you please explain the need for this? How does a manual DNS/DHCP validation functionality improve inventory functionality?