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

Assistance tweaking this package for Ubuntu? #84

Open
mcblum opened this issue Dec 14, 2017 · 1 comment
Open

Assistance tweaking this package for Ubuntu? #84

mcblum opened this issue Dec 14, 2017 · 1 comment

Comments

@mcblum
Copy link

mcblum commented Dec 14, 2017

Hey @thias. Thanks for putting this together. It's really great but I'm having a bit of trouble configuring everything for Ubuntu. I've forked it, and if you have a second would you mind pointing me in the right direction of how I can move the files from /var/named to /var/bind and have the configs be written to named.conf.options and named.conf.local? I'll keep messing with it but if you happen to have a second, I'd really appreciate it!

@b4ldr
Copy link
Contributor

b4ldr commented Dec 14, 2017

This module uses just one config file so don't worry about having things in separate named.options and named.local files. also /var/cache/bind is the ubuntu default for the directory the following should get you what you want.

include ::bind
bind::server::conf {'/etc/bind/named.conf':
  directory => '/var/cache/bind',
  dump_file => '/var/cache/bind/cache_dump.db',
  statistics_file => '/var/cache/bind/named_stats.txt',
  memstatistics_file => '/var/cache/bind/named_mem_stats.txt',
}

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

No branches or pull requests

2 participants