From 45fbc3316f26953f57c7e48f42c7cf8ba6684269 Mon Sep 17 00:00:00 2001 From: vincent Date: Tue, 16 Apr 2019 17:54:22 +0200 Subject: [PATCH] custom dns role --- README.md | 5 +---- group_vars/server | 18 +++++++++++++++++- server.yml | 2 +- 3 files changed, 19 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 3535cf8..ae89b9a 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ - install - config -- [ ] dns role +- [x] dns role -slave/primary @@ -98,9 +98,6 @@ - [ ] gitea role - depend of mariadb role -- [ ] dns role - -slave/primary - - [ ] backup role? - controle du reboot diff --git a/group_vars/server b/group_vars/server index cbc8642..9c30a02 100644 --- a/group_vars/server +++ b/group_vars/server @@ -87,4 +87,20 @@ php_extention_enable: - pdo_mysql - soap -mysql_root_password: "{{ vault_default_password }}" \ No newline at end of file +mysql_root_password: "{{ vault_default_password }}" + + +bind_listen_ipv4: ['any'] +bind_allow_query: ['any'] +bind_zone_master_server_ip: 192.168.1.10 +bind_zone_domains: + - name: ducamps.win + hostmaster_email: "vincent@ducamps.win" + - name: 1.168.192.in-addr.arpa + hostmaster_email: "vincent@ducamps.win" +bind_forwarders: + - '1.1.1.1' + - '80.67.169.40' +bind_recursion: true +bind_allow_recursion: + - "192.168.1.0/24" \ No newline at end of file diff --git a/server.yml b/server.yml index 02ee56a..e9d977f 100644 --- a/server.yml +++ b/server.yml @@ -14,7 +14,7 @@ - rsyncd - gandi-dyn-dns - fail2ban - - dns + - {role: dns , become: yes } - {role: nginx, become: yes } - {role: mariadb, become: yes } - php