hello there,

today we have to migrate an old configuration (what was using the
forward-zones-file) to a new server using the ansible recursor
playbook (https://github.com/PowerDNS/pdns_recursor-ansible), but some
internal domains didn't worked well and after some debug we got that
there is a difference using the "+" on the  forward-zones and
forward-zones-file.

https://docs.powerdns.com/recursor/settings.html#forward-zones
https://docs.powerdns.com/recursor/settings.html#forward-zones-file

```Zones prefixed with a ‘+’ are treated as with
forward-zones-recurse. Default behaviour without ‘+’ is as with
forward-zones.```

So, why this two parameters need to have different syntax (not only
the +, but the use of ; and , as separator:

```
forward-zones-file = my_file.txt
my_file.txt
+my_domain.com=1.2.3.4,4.3.2.1
+my_other_domain.net=1.2.3.4,4.3.2.1
```

```
forward-zones=my_domain.com=1.2.3.4;4.3.2.1,my_other_domain.net=1.2.3.4;4.3.2.1
```

thanks and advance


-- 
--
Victor Hugo dos Santos
http://www.vhsantos.net
Linux Counter #224399
_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to