mirror of https://github.com/0xERR0R/blocky.git
9f633f18d0
* feat: Support zonefile configuration for custom dns mapping * docs: Update configuration.md * Rename var to ok * Linter fixes * Remove hashes in test describe description * Implement PR comments; zoneFileMapping -> zone, initialize with proper sizes * Remove custom CNAME parsing * Utilize TTL defined in zone file * Link to wikipedia's example file * Test to confirm that a relative zone entry without an $ORIGIN returns an error * Write a test covering the $INCLUDE directive * Write a test confirming that a dns zone can result in more than 1 RR * Linting * fix: Use proper matchers in CustomDNS Zone tests; Update configuration.md description * Pull in config directory to support relative $INCLUDE * Added tests to ensure the ability to use both bare filenames as well as relative filenames when using the $INCLUDE directive * Shorten test description (Linting error) * Move Assignment of z.RRs to the end of the UnmarshallYAML function * Moved tests for relative $INCLUDE zones to config_test. Added test case when config param passed to blocky is a directory * Corrected test case to _actually_ test againt bare file names |
||
---|---|---|
.. | ||
migration | ||
blocking.go | ||
blocking_test.go | ||
bytes_source.go | ||
bytes_source_enum.go | ||
caching.go | ||
caching_test.go | ||
client_lookup.go | ||
client_lookup_test.go | ||
conditional_upstream.go | ||
conditional_upstream_test.go | ||
config.go | ||
config_enum.go | ||
config_suite_test.go | ||
config_test.go | ||
custom_dns.go | ||
custom_dns_test.go | ||
duration.go | ||
duration_test.go | ||
ecs.go | ||
ecs_test.go | ||
filtering.go | ||
filtering_test.go | ||
hosts_file.go | ||
hosts_file_test.go | ||
metrics.go | ||
metrics_test.go | ||
qtype_set.go | ||
qtype_set_test.go | ||
query_log.go | ||
query_log_test.go | ||
redis.go | ||
redis_test.go | ||
rewriter.go | ||
rewriter_test.go | ||
sudn.go | ||
sudn_test.go | ||
upstream.go | ||
upstreams.go | ||
upstreams_test.go |