Seite 1 von 1

fire on_demand and name-to-ip resolv logic

Verfasst: 25 Mai 2018, 17:31
von harry
Hi,

i have about 600 clients in my inventory and I'm figuring out how this fire on_demand resolvs IPs. It worked somehow before but since I moved clients to different subnets and WINS not working anymore so this got my attention.

My clients are visible in opsi like this:
computername.local.lan

This computername.local.lan does not resolve on local dns,
instead dns knows them by computername.dyn.local.lan.

The opsi server itself, has resolv.conf following search list

Code: Alles auswählen

search local.lan. dyn.local.lan.
And opsi configuration has the following:

Code: Alles auswählen

resolveHostAddress = True
update ip = no
Now doing fire on_demand, how the name resolution will be done?
Will it use the name part only in order to resolv ip back or the fqdn (that one ends up wrong)?

If this can't be changed, what would be the easyest approach to change clients name in inventory? (I have tried to rename client but this ends up clients not starting opsi anymore due no pckeys match I guess).

Re: fire on_demand and name-to-ip resolv logic

Verfasst: 05 Jun 2018, 17:22
von n.wenselowski
Hi,

opsi will try to get name resolution for the id of the client in opsi.
And then we use system calls.

From what you write I'd think that you should configure opsi to update the IP and then not to resolve the host address.
Some more information in the getting started.


Kind regards

Niko