fqdncache.h File Reference
Include dependency graph for fqdncache.h:
![](fqdncache_8h__incl.png)
This graph shows which files directly or indirectly include this file:
![](fqdncache_8h__dep__incl.png)
Go to the source code of this file.
Namespaces | |
Dns | |
generic DNS API | |
Typedefs | |
typedef void | FQDNH(const char *, const Dns::LookupDetails &details, void *) |
Functions | |
void | fqdncache_init (void) |
void | fqdnStats (StoreEntry *) |
void | fqdncache_restart (void) |
void | fqdncache_purgelru (void *) |
void | fqdncacheAddEntryFromHosts (char *addr, SBufList &hostnames) |
const char * | fqdncache_gethostbyaddr (const Ip::Address &, int flags) |
void | fqdncache_nbgethostbyaddr (const Ip::Address &, FQDNH *, void *) |
Variables | |
bool | Dns::ResolveClientAddressesAsap = false |
whether to do reverse DNS lookups for source IPs of accepted connections More... | |
Typedef Documentation
◆ FQDNH
typedef void FQDNH(const char *, const Dns::LookupDetails &details, void *) |
Definition at line 26 of file fqdncache.h.
Function Documentation
◆ fqdncacheAddEntryFromHosts()
void fqdncacheAddEntryFromHosts | ( | char * | addr, |
SBufList & | hostnames | ||
) |
Adds a "static" entry from /etc/hosts.
- Parameters
-
addr FQDN name to be added. hostnames list of hostnames for the addr
Definition at line 636 of file fqdncache.cc.
References DBG_IMPORTANT, debugs, fqdncache_entry::flags, FQDN_MAX_NAMES, fqdncache_get(), fqdncacheAddEntry(), fqdncacheLockEntry(), fqdncacheRelease(), fqdncacheUnlockEntry(), fqdncache_entry::Flags::fromhosts, fqdncache_entry::locks, fqdncache_entry::name_count, fqdncache_entry::names, Tolower(), and xstrdup.
Referenced by parseEtcHosts().
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products