inluck / ansible-dns

Ansible role to set up dns in Debian-like systems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dns

CI Ansible Galaxy

Set up dns in Debian-like systems.

Requirements

None

Variables

  • dns_remove_resolvconf [default: true]: Whether or not to remove the resolvconf package
  • dns_domain [default: '']: Local domain name. Most queries for names within this domain can use short names relative to the local domain
  • dns_nameservers [default: [8.8.8.8, 8.8.4.4]]: Internet address(es) (in dot notation) of name servers that the resolver should query
  • dns_searches [default: []]: Search list for host-name lookup. The search list is normally determined from the local domain name; by default, it contains only the local domain name
  • dns_options [default: []]: Additional resolv.conf options, see
  • dns_dhclient_rules [default: supersede for domain-name, prepend for domain-name-servers and supersede for domain-search]: see http://manpages.ubuntu.com/manpages/precise/man5/dhclient.conf.5.html
  • dns_dhclient_file [default: /etc/dhcp/dhclient.conf]: The location of the dhclient configuration file

Dependencies

None

Example

---
- hosts: all
  roles:
    - dns

License

BSD

Author Information

Mischa ter Smitten (based on work of jdauphant)

Feedback, bug-reports, requests, ...

Are welcome!

About

Ansible role to set up dns in Debian-like systems

License:BSD 2-Clause "Simplified" License


Languages

Language:Dockerfile 66.5%Language:Jinja 33.5%