Razor
Inherits Reference < Object
Constants
NAME = "Razor"
VERSION = {{ (read_file("shard.yml")).lines[1] }}
Constructors
new(config : String = "/etc/pdns-razor/razor.json", context : String = "production")
SourceInstance methods
data_from_redis(qtype, name, src, options)
Sourceipv4_get(range, skip_list, seed = UInt8::MAX)
Sourceipv6_get(range, skip_list, seed = UInt16::MAX)
Get the random IPv6 address from the given range, and exclude the ones that are listed as skip-list (= blackholed). This mechanism works only with /48 ranges and checks are based on /64 ranges.
mainLoop
Sourcemandatory_dns_options(name)
Sourceparse_arguments
Sourcerun!
Source