Giter Site home page Giter Site logo

nbuchwitz / ansible-dnsmasq Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bodsch/ansible-dnsmasq

0.0 1.0 0.0 77 KB

Ansible role to install and configure dnsmasq on various linux systems

License: Apache License 2.0

Shell 0.91% Python 13.61% Makefile 0.67% Jinja 84.80%

ansible-dnsmasq's Introduction

Ansible Role: dnsmasq

Ansible role to install and configure dnsmasq on various linux systems.

sourcecode

GitHub Workflow Status GitHub issues GitHub release (latest by date) Ansible Quality Score

usage

dnsmasq_global: {}
#   port: 53
#   user: ""
#   group: ""
#   filterwin2k: false
#   resolv_file: ""
#   strict_order: false
#   no_hosts: false
#   no_resolv: false
#   no_poll: false
#   domain_needed: false
#   bogus_priv: false
#   cache_size: 150
#   all_servers: false
#   no_negcache: false
#   conf_file: ""
#   conf_dir: ""

dnsmasq_interfaces:
  listen_address: "127.0.0.1"
  # Define specific interfaces to listen on
  interfaces: []
  #  - "{{ ansible_default_ipv4['interface'] }}"
  #  - eth0
  #  - eth1
  # Define any interface to not listen on
  except_interfaces: []
  #  - eth1
  # Defines if DNSMasq only listens on specific interfaces instead of all interfaces
  bind_only: false

dnsmasq_logging:
  log_queries: false
  log_facility: /var/log/dnsmasq.log
  log_dhcp: false

dnsmasq_address: []
# - address: 192.168.202.133
#   name: node1.test.com

dnsmasq_alias: {}

dnsmasq_dhcp:
#   enabled: false
#   dhcp_authoritative: false
#   dhcp_boot: "pxelinux.0,{{ inventory_hostname }},{{ dnsmasq_domain }}"
#   dhcp_hosts: []
#   dhcp_options: []
#   dhcp_options_tagged: []
#   dhcp_range: []

dnsmasq_dnssec: {}
#  enabled: false
#  conf_file: ""
#  dnssec_check_unsigned: false

dnsmasq_domain:
  name: example.org
  custom: []

dnsmasq_ipset: {}

dnsmasq_local: {}

dnsmasq_mx: {}

dnsmasq_nftset: {}

dnsmasq_pxe: {}

dnsmasq_server: {}
#  nameservers: []
#  forwarders: []

dnsmasq_tftp: {}
#   enabled: false
#   tftp_root: ""
#   tftp_no_fail: false
#   tftp_secure: false
#   tftp_no_blocksize: false

dnsmasq_records:
  cname: []
#  - target:
#    cnames:
#      - cname
  ptr: []
  srv: []
  txt: []

dnsmasq_global

dnsmasq_global:
   port: 53
   user: ""
   group: ""
   filterwin2k: false
   resolv_file: ""
   strict_order: false
   no_hosts: false
   no_resolv: false
   no_poll: false
   domain_needed: false
   bogus_priv: false
   cache_size: 150
   all_servers: false
   no_negcache: false
   conf_file: ""
   conf_dir: ""

dnsmasq_interfaces

dnsmasq_interfaces:
  listen_address: "127.0.0.1"
  # Define specific interfaces to listen on
  interfaces: []
  #  - "{{ ansible_default_ipv4['interface'] }}"
  #  - eth0
  #  - eth1
  # Define any interface to not listen on
  except_interfaces: []
  #  - eth1
  # Defines if DNSMasq only listens on specific interfaces instead of all interfaces
  bind_only: false

dnsmasq_logging

dnsmasq_logging:
  log_queries: false
  log_facility: /var/log/dnsmasq.log
  log_dhcp: false

dnsmasq_address

dnsmasq_address: []
# - address: 192.168.202.133
#   name: node1.test.com

dnsmasq_alias

dnsmasq_alias: {}

dnsmasq_dhcp

dnsmasq_dhcp: {}
#   enabled: false
#   dhcp_authoritative: false
#   dhcp_boot: "pxelinux.0,{{ inventory_hostname }},{{ dnsmasq_domain }}"
#   dhcp_hosts: []
#   dhcp_options: []
#   dhcp_options_tagged: []
#   dhcp_range: []

dnsmasq_dnssec

dnsmasq_dnssec: {}
#  enabled: false
#  conf_file: ""
#  dnssec_check_unsigned: false

dnsmasq_domain

dnsmasq_domain:
  name: example.org
  # Define custom domains per subnet, ip range, etc.
  custom:
    - domain: "example.local"
      network:
        - 192.168.10.0/24 # Define as range

dnsmasq_ipset

dnsmasq_ipset: {}

dnsmasq_local

dnsmasq_local: {}

dnsmasq_mx

dnsmasq_mx: {}

dnsmasq_nftset

dnsmasq_nftset: {}

dnsmasq_pxe

dnsmasq_pxe: {}

dnsmasq_server

dnsmasq_server: {}
#  nameservers: []
#  forwarders: []

dnsmasq_tftp

dnsmasq_tftp: {}
#   enabled: false
#   tftp_root: ""
#   tftp_no_fail: false
#   tftp_secure: false
#   tftp_no_blocksize: false

dnsmasq_records

dnsmasq_records:
  cname: []
#  - target:
#    cnames:
#      - cname
  ptr: []
  srv: []
  txt: []

Contribution

Please read Contribution

Development, Branches (Git Tags)

The master Branch is my Working Horse includes the "latest, hot shit" and can be complete broken!

If you want to use something stable, please use a Tagged Version!

Author

  • Bodo Schulz

License

Apache

FREE SOFTWARE, HELL YEAH!

ansible-dnsmasq's People

Contributors

bodsch avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.