Welcome! Log In Create A New Profile

Advanced

Re: host not found in upstream

December 12, 2011 11:17AM
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
Subject Author Posted

host not found in upstream

skyshade March 26, 2011 11:46PM

Re: host not found in upstream

fatzopilot December 12, 2011 11:17AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 285
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready