Browse Source

added forwarders in env file; added dyn ips domain in search domains

tags/v2.0.0
Robin Thoni 6 years ago
parent
commit
8377efad04
6 changed files with 15 additions and 9 deletions
  1. 2
    0
      apache/vars-vars
  2. 2
    0
      bind/vars-vars
  3. 2
    0
      env
  4. 5
    9
      isc-dhcp/dhcpd.conf
  5. 2
    0
      isc-dhcp/vars-vars
  6. 2
    0
      tftpd/vars-vars

+ 2
- 0
apache/vars-vars View File

14
 DHCP_IP_LAST
14
 DHCP_IP_LAST
15
 DHCP_BROADCAST
15
 DHCP_BROADCAST
16
 
16
 
17
+DNS_FORWARDER_IP_1
18
+DNS_FORWARDER_IP_2
17
 DNS_TSIG_KEY_INTERNAL_SECRET
19
 DNS_TSIG_KEY_INTERNAL_SECRET
18
 DNS_TSIG_KEY_EXTERNAL_SECRET
20
 DNS_TSIG_KEY_EXTERNAL_SECRET
19
 DNS_TSIG_KEY_RNDC_SECRET
21
 DNS_TSIG_KEY_RNDC_SECRET

+ 2
- 0
bind/vars-vars View File

14
 DHCP_IP_LAST
14
 DHCP_IP_LAST
15
 DHCP_BROADCAST
15
 DHCP_BROADCAST
16
 
16
 
17
+DNS_FORWARDER_IP_1
18
+DNS_FORWARDER_IP_2
17
 DNS_TSIG_KEY_INTERNAL_SECRET
19
 DNS_TSIG_KEY_INTERNAL_SECRET
18
 DNS_TSIG_KEY_EXTERNAL_SECRET
20
 DNS_TSIG_KEY_EXTERNAL_SECRET
19
 DNS_TSIG_KEY_RNDC_SECRET
21
 DNS_TSIG_KEY_RNDC_SECRET

+ 2
- 0
env View File

14
 DHCP_IP_LAST=10.15.100.250
14
 DHCP_IP_LAST=10.15.100.250
15
 DHCP_BROADCAST=10.15.100.255
15
 DHCP_BROADCAST=10.15.100.255
16
 
16
 
17
+DNS_FORWARDER_IP_1=8.8.8.8
18
+DNS_FORWARDER_IP_2=8.8.4.4
17
 DNS_TSIG_KEY_INTERNAL_SECRET=change_it
19
 DNS_TSIG_KEY_INTERNAL_SECRET=change_it
18
 DNS_TSIG_KEY_EXTERNAL_SECRET=change_it
20
 DNS_TSIG_KEY_EXTERNAL_SECRET=change_it
19
 DNS_TSIG_KEY_RNDC_SECRET=change_it
21
 DNS_TSIG_KEY_RNDC_SECRET=change_it

+ 5
- 9
isc-dhcp/dhcpd.conf View File

53
 
53
 
54
   # DNS settings
54
   # DNS settings
55
   option domain-name "DHCP_SITE_DOMAIN";
55
   option domain-name "DHCP_SITE_DOMAIN";
56
-  option domain-search "DHCP_SITE_DOMAIN", "DHCP_DOMAIN";
56
+  option domain-search "DHCP_SITE_DOMAIN", "DHCP_DOMAIN", "DHCP_DYN_IPS_DOMAIN";
57
   option domain-name-servers DHCP_DNS_SERVER;
57
   option domain-name-servers DHCP_DNS_SERVER;
58
 
58
 
59
   # Push custom routes to clients
59
   # Push custom routes to clients
73
 
73
 
74
   # Static IP hosts
74
   # Static IP hosts
75
   group {
75
   group {
76
-    host vm-pxe {
77
-      hardware ethernet 08:00:27:7b:9d:21;
78
-      fixed-address 10.15.100.10;
79
-    }
80
-    host vm-windows {
81
-      hardware ethernet 08:00:27:76:ce:95;
82
-      fixed-address 10.15.100.11;
83
-    }
76
+    #host  {
77
+    #  hardware ethernet ;
78
+    #  fixed-address 10.15.100.;
79
+    #}
84
     ddns-domainname "DHCP_SITE_DOMAIN";
80
     ddns-domainname "DHCP_SITE_DOMAIN";
85
     option host-name = host-decl-name;
81
     option host-name = host-decl-name;
86
     ddns-hostname = config-option host-name;
82
     ddns-hostname = config-option host-name;

+ 2
- 0
isc-dhcp/vars-vars View File

14
 DHCP_IP_LAST
14
 DHCP_IP_LAST
15
 DHCP_BROADCAST
15
 DHCP_BROADCAST
16
 
16
 
17
+DNS_FORWARDER_IP_1
18
+DNS_FORWARDER_IP_2
17
 DNS_TSIG_KEY_INTERNAL_SECRET
19
 DNS_TSIG_KEY_INTERNAL_SECRET
18
 DNS_TSIG_KEY_EXTERNAL_SECRET
20
 DNS_TSIG_KEY_EXTERNAL_SECRET
19
 DNS_TSIG_KEY_RNDC_SECRET
21
 DNS_TSIG_KEY_RNDC_SECRET

+ 2
- 0
tftpd/vars-vars View File

14
 DHCP_IP_LAST
14
 DHCP_IP_LAST
15
 DHCP_BROADCAST
15
 DHCP_BROADCAST
16
 
16
 
17
+DNS_FORWARDER_IP_1
18
+DNS_FORWARDER_IP_2
17
 DNS_TSIG_KEY_INTERNAL_SECRET
19
 DNS_TSIG_KEY_INTERNAL_SECRET
18
 DNS_TSIG_KEY_EXTERNAL_SECRET
20
 DNS_TSIG_KEY_EXTERNAL_SECRET
19
 DNS_TSIG_KEY_RNDC_SECRET
21
 DNS_TSIG_KEY_RNDC_SECRET

Loading…
Cancel
Save