mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
@@ -104,7 +104,7 @@ Possible settings (**the option shown first is the default**):
|
||||
- `QUERY_DISPLAY=yes|no` (Display all queries? Set to `no` to hide query display)
|
||||
- `AAAA_QUERY_ANALYSIS=yes|no` (Allow `FTL` to analyze AAAA queries from pihole.log?)
|
||||
- `MAXDBDAYS=365` (How long should queries be stored in the database? Setting this to `0` disables the database altogether)
|
||||
- `RESOLVEIPV6=yes|no` (Should `FTL` try to resolve IPv6 addresses to host names?)
|
||||
- `RESOLVE_IPV6=yes|no` (Should `FTL` try to resolve IPv6 addresses to host names?)
|
||||
|
||||
### Implemented keywords (starting with `>`, subject to change):
|
||||
|
||||
|
||||
@@ -111,19 +111,19 @@ void read_FTLconf(void)
|
||||
else
|
||||
logg(" MAXDBDAYS: max age for stored queries is %i days", config.maxDBdays);
|
||||
|
||||
// RESOLVEIPV6
|
||||
// RESOLVE_IPV6
|
||||
// defaults to: Yes
|
||||
config.resolveIPv6 = true;
|
||||
buffer = parse_FTLconf(fp, "RESOLVEIPV6");
|
||||
buffer = parse_FTLconf(fp, "RESOLVE_IPV6");
|
||||
if(buffer != NULL)
|
||||
{
|
||||
if(strcmp(buffer, "no") == 0)
|
||||
config.resolveIPv6 = false;
|
||||
}
|
||||
if(config.resolveIPv6)
|
||||
logg(" RESOLVEIPV6: Resolve IPv6 addresses");
|
||||
logg(" RESOLVE_IPV6: Resolve IPv6 addresses");
|
||||
else
|
||||
logg(" RESOLVEIPV6: Don\'t resolve IPv6 addresses");
|
||||
logg(" RESOLVE_IPV6: Don\'t resolve IPv6 addresses");
|
||||
|
||||
logg("Finished config file parsing");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user