Skip to content

always_null and others inside view #474

@ethey

Description

@ethey

This is regarding issue the feature request #397 and the implementation of the always_null zone.

The always_null zone does not seem to work inside a view:

server:
  access-control-view: 127.0.0.0/8 "local"

view:
  name: "local"
  local-zone: "example.com" always_null

gives the error error: local-zone type: expected static, deny, refuse, redirect, transparent, typetransparent, inform, inform_deny, always_transparent, always_refuse, always_nxdomain, noview or nodefault, while there is no problem if the local zone is in the server section.

The documentation indicates that the local-zone inside a view should Ha[ve] the same types and behaviour as the global local-zone elements, however it is not implemented in configparser.y. always_nodata and always_deny also seem to be missing.

I have tested version 1.13.1 on Debian and Arch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions