|
@@ -5,18 +5,18 @@ key DHCP_TSIG_KEY_NAME {
|
5
|
5
|
};
|
6
|
6
|
|
7
|
7
|
zone DHCP_DYN_IPS_DOMAIN {
|
8
|
|
- primary DHCP_DNS_SERVER;
|
9
|
|
- #key DHCP_TSIG_KEY_NAME;
|
|
8
|
+ primary DHCP_DNS_MASTER;
|
|
9
|
+ key DHCP_TSIG_KEY_NAME;
|
10
|
10
|
}
|
11
|
11
|
|
12
|
12
|
zone DHCP_SITE_DOMAIN {
|
13
|
|
- primary DHCP_DNS_SERVER;
|
14
|
|
- #key DHCP_TSIG_KEY_NAME;
|
|
13
|
+ primary DHCP_DNS_MASTER;
|
|
14
|
+ key DHCP_TSIG_KEY_NAME;
|
15
|
15
|
}
|
16
|
16
|
|
17
|
17
|
zone DHCP_REV_DOMAIN {
|
18
|
|
- primary DHCP_DNS_SERVER;
|
19
|
|
- #key DHCP_TSIG_KEY_NAME;
|
|
18
|
+ primary DHCP_DNS_MASTER;
|
|
19
|
+ key DHCP_TSIG_KEY_NAME;
|
20
|
20
|
}
|
21
|
21
|
|
22
|
22
|
|
|
@@ -89,11 +89,8 @@ subnet DHCP_SUBNET netmask DHCP_NETMASK {
|
89
|
89
|
|
90
|
90
|
# Force a default hostname if not present
|
91
|
91
|
if option dhcp-message-type = 3 and not exists host-name and config-option host-name = null {
|
92
|
|
- #ddns-hostname = concat("dyn-", binary-to-ascii(10, 8, "-", leased-address));
|
93
|
|
- #option host-name = ddns-hostname;
|
94
|
92
|
option host-name = concat("dyn-", binary-to-ascii(10, 8, "-", leased-address));
|
95
|
93
|
ddns-hostname = config-option host-name;
|
96
|
|
- #log(info, concat("Defaulting hostname to ", config-option host-name, " for ", binary-to-ascii(16, 8, ":", hardware)));
|
97
|
94
|
}
|
98
|
95
|
}
|
99
|
96
|
|