fire on_demand and name-to-ip resolv logic

Antworten
harry
Beiträge: 5
Registriert: 13 Mär 2013, 10:46

fire on_demand and name-to-ip resolv logic

Beitrag 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).
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

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

Beitrag 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

Code: Alles auswählen

import OPSI
Antworten