Hi,
I am interested in this as well (dynamic setup in a proxmox/openVZ environment where the hostname abstraction is quite useful as (virtual) network adapters change often)
What is so bad about the following:
* Try to resolve all names on startup and put them in the DNS in-memory cache (current behaviour)
* just ignore non-resolvable hosts but log an error (new behaviour)
* if there is a request to the a non-resolvable host, try to resolve it again (gethostbyname()) and if successful, put it in the in-memory cache (new behaviour).
* Alternatively/Additionallly, do step 1 every couple of minutes to update the cache
Would really help!
Thanks and regards,
fatzopilot