Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bindbackend: "type" omission for zones causes troubles #1284

Closed
terrorobe opened this issue Feb 17, 2014 · 4 comments
Closed

bindbackend: "type" omission for zones causes troubles #1284

terrorobe opened this issue Feb 17, 2014 · 4 comments

Comments

@terrorobe
Copy link
Contributor

a named.conf entry missing a type field like:

zone "example.com" {
   file "example.com";
}; 

will yield:

[bindbackend] Warning! Skipping '' zone 'example.com'

Please also mention the "native" type in the bindbackend docs since it's not clear how the type map to powerdns functionality.

@Habbie
Copy link
Member

Habbie commented Feb 17, 2014

(note that leaving out 'type' is a misconfig with actual BIND)

@cmouse
Copy link
Contributor

cmouse commented Feb 17, 2014

@terrorobe there is no "native" type for BIND either. Leaving type out is misconfiguration as @Habbie pointed out. Perhaps we should fail such config file?

@terrorobe
Copy link
Contributor Author

@cmouse But in PowerDNS "native" will make sense and give feature parity to other backends.

Failing isn't the most attractive solution, just logging a understandable message might be helpful.

@Habbie
Copy link
Member

Habbie commented Apr 28, 2014

@cmouse indicated this ticket needs guidance. Here it is: do not error out on this, do something sensible instead, do log something useful. I suspect 'native' is the most sensible default.

@Habbie Habbie added this to the auth-4.1.0 milestone Dec 15, 2015
pieterlexis added a commit to pieterlexis/pdns that referenced this issue Mar 6, 2017
Allow the use of `type native;` for zones in BIND config files. We also
assume the type is native if no type is specified.

Closes PowerDNS#1284
pieterlexis added a commit to pieterlexis/pdns that referenced this issue Mar 6, 2017
Allow the use of `type native;` for zones in BIND config files. We also
assume the type is native if no type is specified.

Closes PowerDNS#1284
pieterlexis added a commit to pieterlexis/pdns that referenced this issue Mar 6, 2017
Allow the use of `type native;` for zones in BIND config files. We also
assume the type is native if no type is specified.

Closes PowerDNS#1284
pieterlexis added a commit to pieterlexis/pdns that referenced this issue Mar 6, 2017
Allow the use of `type native;` for zones in BIND config files. We also
assume the type is native if no type is specified.

Closes PowerDNS#1284
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants