Re: Dynamic A records similar to nip.io or xip

2022-05-24 Thread Ondřej Surý
Yeah, I concur that writing a small DLZ module or maybe even just **plugin** is a way to go. Ondrej -- Ondřej Surý (He/Him) ond...@isc.org My working hours and your working hours may be different. Please do not feel obligated to reply outside your normal working hours. > On 24. 5. 2022, at 20:

Re: Dynamic A records similar to nip.io or xip

2022-05-24 Thread Jan-Piet Mens via bind-users
Does the $GENERATE directive in BIND zone files do what you need? The $GENERATE statement is executed when loading the zone file results in an expanded in-memory version of the zone being used. That can get quite large. -JP -- Visit https://lists.isc.org/mailman/listinfo/bind-users to u

Re: Dynamic A records similar to nip.io or xip

2022-05-23 Thread Grant Taylor via bind-users
On 5/23/22 4:30 AM, Nux wrote: Hi, Does anyone know whether it's possible to generate with Bind these kind of A records automatically on the authoritative side, similar to services like xip.io or nip.io? Eg: 127.0.0.1.nip.io -> 127.0.0.1 name.127.0.0.1.nip.io -> 127.0.0.1 and so on. Does th

Re: Dynamic A records similar to nip.io or xip

2022-05-23 Thread Nux
Thank you On 23 May 2022 13:06:14 BST, Jan-Piet Mens via bind-users wrote: >> DLZ are loadable modules > >I should have pointed to the documentation [1] and some example modules [2]. > > -JP > >[1] https://github.com/isc-projects/bind9/tree/main/contrib/dlz/example >[2] https://github.com/

Re: Dynamic A records similar to nip.io or xip

2022-05-23 Thread Jan-Piet Mens via bind-users
DLZ are loadable modules I should have pointed to the documentation [1] and some example modules [2]. -JP [1] https://github.com/isc-projects/bind9/tree/main/contrib/dlz/example [2] https://github.com/isc-projects/bind9/tree/main/contrib/dlz/modules -- Visit https://lists.isc.org/mailm

Re: Dynamic A records similar to nip.io or xip

2022-05-23 Thread Jan-Piet Mens via bind-users
Does anyone know whether it's possible to generate with Bind these kind of A records automatically on the authoritative side BIND has DLZ, Dynamically Loadable Zones, which is an extension which allows zone data to be retrieved from basically anywhere. DLZ are loadable modules written in the C l

Dynamic A records similar to nip.io or xip

2022-05-23 Thread Nux
Hi, Does anyone know whether it's possible to generate with Bind these kind of A records automatically on the authoritative side, similar to services like xip.io or nip.io? Eg: 127.0.0.1.nip.io -> 127.0.0.1 name.127.0.0.1.nip.io -> 127.0.0.1 and so on. I already do this with PowerDNS and thei