Re: [Pdns-users] Blocklist file format

2023-03-06 Thread Adrian M via Pdns-users
Having a policy list implemented directly in pdns-resolver it will be a very nice feature nowadays IMHO. On Sun, Mar 5, 2023 at 5:29 PM Darac Marjal via Pdns-users < pdns-users@mailman.powerdns.com> wrote: > You might find https://github.com/thommay/blocklister useful. This script > takes lists o

Re: [Pdns-users] failover LUA record

2022-09-21 Thread Adrian M via Pdns-users
a Pdns-users wrote: > > Hi, > > If its a web server I would suggest using url check instead of port check > like below: > > www.domain.com60INLUAA "ifurlup('https://www.domain.com', > {{'192.168.1.10'},{'192.168.2.20'}}, {ti

[Pdns-users] failover LUA record

2022-09-20 Thread Adrian M via Pdns-users
Hi, I'm attempting to implement a simple fail-over mechanism between two web servers but I'm not able to find the right syntax. www LUA A (";if ifportup(443, {'192.168.0.10'}) then " " return '192.168.0.10' "