diff --git a/shard.yml b/shard.yml index 488bd83..ab2729d 100644 --- a/shard.yml +++ b/shard.yml @@ -1,5 +1,5 @@ name: pdns-razor -version: 0.5.1 +version: 0.5.2 dependencies: redis: diff --git a/src/razor.cr b/src/razor.cr index 9fc55b2..40cee82 100644 --- a/src/razor.cr +++ b/src/razor.cr @@ -15,7 +15,7 @@ class Razor @zone : (String | Nil) @geoip_db_checksum : (String | Nil) - def initialize(config = "/etc/pdns/razor.json", context = "production") + def initialize(config = "/etc/pdns-razor/razor.json", context = "production") @config = config @context = context @banner = "Razor DNS backend" diff --git a/tools/pdns.conf b/tools/pdns.conf index c003363..2fc0fba 100644 --- a/tools/pdns.conf +++ b/tools/pdns.conf @@ -1,8 +1,8 @@ -config-dir=/etc/pdns +config-dir=/etc/pdns-razor daemon=no guardian=yes launch=pipe -pipe-command=/etc/pdns/razor +pipe-command=/etc/pdns-razor/razor log-dns-details=yes log-dns-queries=yes loglevel=5