diff --git a/nomad-job/pdns-auth.nomad b/nomad-job/pdns-auth.nomad index 9c7d3dd..83d2f07 100644 --- a/nomad-job/pdns-auth.nomad +++ b/nomad-job/pdns-auth.nomad @@ -116,6 +116,30 @@ SQLALCHEMY_DATABASE_URI=postgresql://pdns-admin:{{ .Data.data.pdnsadmin }}@activ } } + task "pdns-recursor" { + + driver = "docker" + config { + image = "powerdns/pdns-recursor-master:latest" + network_mode = "host" + volumes = [ + "local/recursor.conf:/etc/powerdns/recursor.conf", + ] + } + template{ + destination = "local/recursor.conf" + data= <