Optionaladdress?: stringOptionaldnsLocalName?: stringTLD given to hostnames in the Private Network. Allowed characters are
a-z0-9-.. Defaults to the slugified Private Network name if created along
a GatewayNetwork, or else to priv.
OptionaldnsSearch?: string[]Array of search paths in addition to the pushed DNS configuration.
OptionaldnsServersOverride?: string[]Array of DNS server IP addresses used to override the DNS server list pushed to DHCP clients, instead of the gateway itself.
OptionalenableDynamic?: booleanDefines whether to enable dynamic pooling of IPs. When false, only pre-existing DHCP reservations will be handed out. Defaults to true.
OptionalpoolHigh?: stringHigh IP (inclusive) of the dynamic address pool. Must be in the config's subnet. Defaults to the last address of the subnet.
OptionalpoolLow?: stringLow IP (inclusive) of the dynamic address pool. Must be in the config's subnet. Defaults to the second address of the subnet.
OptionalprojectId?: stringProject to create the DHCP configuration in.
OptionalpushDefaultRoute?: booleanDefines whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to true.
OptionalpushDnsServer?: booleanDefines whether the gateway should push custom DNS servers to clients. This allows for Instance hostname -> IP resolution. Defaults to true.
OptionalrebindTimer?: stringAfter how long a DHCP client will query for a new lease if previous renews
fail. Must be 30s lower than valid_lifetime. Defaults to 51m (3060s).
OptionalrenewTimer?: stringAfter how long a renew will be attempted. Must be 30s lower than
rebind_timer. Defaults to 50m (3000s).
Subnet for the DHCP server.
OptionalvalidLifetime?: stringHow long DHCP entries will be valid for. Defaults to 1h (3600s).
Optionalzone?: ZoneZone to target. If none is passed will use default zone from the config.
IP address of the DHCP server. This will be the gateway's address in the Private Network. Defaults to the first address of the subnet.