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

Various fixes in named.conf #55

Merged
merged 16 commits into from
May 27, 2016
Merged

Various fixes in named.conf #55

merged 16 commits into from
May 27, 2016

Conversation

mvidner
Copy link
Member

@mvidner mvidner commented May 13, 2016

bsc#976643 (L3)
https://trello.com/c/wSXpTL68

It's a follow-up for the fix for trailing whitespace (#54).

Fixed

  • a line without whitespace separating a keyword and { would mean the rest of the file was misparsed (interpreted it as a beginning of a section)
  • in allow-transfer, shown in zone editation Basics tab as "Enable zone transport", unnamed addresses (that do not have an acl declaration) would be dropped

To Do:

  • addition of a zone record was lost (just a misunderstanding in BZ)

@mvidner mvidner changed the title Various fixes in named.conf [WIP] Various fixes in named.conf May 13, 2016
@mvidner mvidner changed the title [WIP] Various fixes in named.conf Various fixes in named.conf May 24, 2016
# @return [Array<String>]
def current_zone_allow_transfer
items = []
@current_zone.fetch("options", []).each do |m|
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't able to find explicit definition / initialization of @current_zone. Is it an intention?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, good point. It is in DnsServerUi.rb which is an "envelope" module defining the variables and including the parts to work on them, dialog-masterzone.rb is one of them.

@jreidinger
Copy link
Member

besides that it looks fine for me

@teclator
Copy link
Contributor

It looks also good to me

@mvidner mvidner merged commit 4f3051c into master May 27, 2016
@mvidner mvidner deleted the whitespace-named-conf branch May 27, 2016 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants