https://github.com/stuartapp/ansible-role-pdnsd
Ansible role for Pdnsd
https://github.com/stuartapp/ansible-role-pdnsd
Last synced: about 1 month ago
JSON representation
Ansible role for Pdnsd
- Host: GitHub
- URL: https://github.com/stuartapp/ansible-role-pdnsd
- Owner: StuartApp
- Created: 2019-08-30T14:06:04.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-03T10:39:20.000Z (over 6 years ago)
- Last Synced: 2025-01-28T03:41:31.168Z (over 1 year ago)
- Size: 10.7 KB
- Stars: 0
- Watchers: 50
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
PDNSD
=========
An Ansible role that installs pdnsd on Debian linux.
Requirements
------------
None
Role Variables
--------------
Check `defaults/main.yml` for a list of default variables (the ones installed from debian).
The most important one will be pdnsd_config, where you can set the configuration of the service.
Dependencies
------------
None
Example Playbook
----------------
### Sample config for resolvconf upstream
Create config for servers in `group_vars`:
```
pdnsd_config: |-
global {
perm_cache=2048;
cache_dir="/var/cache/pdnsd";
run_as="nobody";
server_ip = 0.0.0.0;
status_ctl = on;
min_ttl=15m;
max_ttl=1w;
timeout=10;
neg_domain_pol=on;
udpbufsize=1024;
}
server {
label= "resolvconf";
proxy_only=on;
timeout=4;
}
```
Install the service with the default configuration:
- hosts: servers
roles:
- { role: stuart.pdnsd }
License
-------
Apache2
Author Information
------------------
Maintainer: m.puerta@stuart.com
Company: Stuart (https://wwww.stuart.com)