Data Fields | |
char * | new_address |
time_t | expires |
addressmap_entry_source_t | source:3 |
short | num_resolve_failures |
There are 5 ways to set an address mapping:
When an addressmap request is made but one is already registered, the new one is replaced only if the currently registered one has no "new_address" (that is, it's in the process of DNS resolve), or if the new one is permanent (expires==0 or 1).
(We overload the 'expires' field, using "0" for mappings set via the configuration file, "1" for mappings set from the control interface, and other values for DNS and TrackHostExit mappings that can expire.)