Signed-off-by: Alejandro Mery <amery@jpi.io>
@ -49,9 +49,11 @@ func (m *Zones) ForEachZone(fn func(*Zone)) {
// NewFS builds a [Zones] tree using the given directory
func NewFS(dir fs.FS, domain string) (*Zones, error) {
lockuper := resolver.NewCloudflareLookuper()
z := &Zones{
dir: dir,
resolver: resolver.SystemResolver(true),
resolver: resolver.NewResolver(lockuper),
domain: domain,
}