DHCP: Announce this gateway and srv01 as DNS servers
This commit is contained in:
parent
e5890bf06e
commit
e582db0a8b
1 changed files with 2 additions and 2 deletions
|
@ -16,8 +16,8 @@ subnet 10.112.0.0 netmask 255.255.192.0 {
|
|||
authoritative;
|
||||
range <%= @dhcprange_start %> <%= @dhcprange_end %>;
|
||||
|
||||
# DNS: srv01 (10.112.1.1) & gw01 (10.112.14.1)
|
||||
option domain-name-servers 10.112.1.1, 10.112.14.1;
|
||||
# DNS: this gateway (<%= @gw_ipv4 %>) & srv01 (10.112.1.1)
|
||||
option domain-name-servers <%= @gw_ipv4 %>, 10.112.1.1;
|
||||
option routers <%= @gw_ipv4 %>;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue