interface DHCP {
    address: string;
    createdAt?: Date;
    dnsLocalName: string;
    dnsSearch: string[];
    dnsServersOverride: string[];
    enableDynamic: boolean;
    id: string;
    organizationId: string;
    poolHigh: string;
    poolLow: string;
    projectId: string;
    pushDefaultRoute: boolean;
    pushDnsServer: boolean;
    rebindTimer?: string;
    renewTimer?: string;
    subnet: string;
    updatedAt?: Date;
    validLifetime?: string;
    zone: Zone;
}

Properties

address: string

IP address of the DHCP server. This will be the Public Gateway's address in the Private Network. It must be part of config's subnet.

createdAt?: Date

Date the DHCP configuration was created.

dnsLocalName: string

TLD given to hostnames in the Private Networks. If an Instance with hostname foo gets a lease, and this is set to bar, foo.bar will resolve.

dnsSearch: string[]

Array of search paths in addition to the pushed DNS configuration.

dnsServersOverride: string[]

Array of DNS server IP addresses used to override the DNS server list pushed to DHCP clients, instead of the gateway itself.

enableDynamic: boolean

Defines whether to enable dynamic pooling of IPs. When false, only pre-existing DHCP reservations will be handed out.

id: string

ID of the DHCP config.

organizationId: string

Owning Organization.

poolHigh: string

High IP (inclusive) of the dynamic address pool. Must be in the config's subnet.

poolLow: string

Low IP (inclusive) of the dynamic address pool. Must be in the config's subnet.

projectId: string

Owning Project.

pushDefaultRoute: boolean

Defines whether the gateway should push a default route to DHCP clients, or only hand out IPs.

pushDnsServer: boolean

Defines whether the gateway should push custom DNS servers to clients. This allows for instance hostname -> IP resolution.

rebindTimer?: string

After how long a DHCP client will query for a new lease if previous renews fail. Must be 30s lower than valid_lifetime.

renewTimer?: string

After how long a renew will be attempted. Must be 30s lower than rebind_timer.

subnet: string

Subnet for the DHCP server.

updatedAt?: Date

Configuration last modification date.

validLifetime?: string

How long DHCP entries will be valid for.

zone: Zone

Zone of this DHCP configuration.