|
|
The DHCP client configuration file, /etc/inet/dhcpc.conf, defines how dhcpc(1Mtcp) will operate and which DHCP options it will request.
The following keyword lines are recognized:
This keyword is used in conjunction with the command /etc/inet/dhcpc/dupdate which requests that the DNS master server update the client's A and PTR records. The client's name is the same as that obtained using the command uname -n.
The design and implementation of dynamic DNS is subject to change. In future releases, it is likely that the DHCP server will notify the DNS server on behalf of the client.
# Set a debugging level of 4 (highest) debug:4# Request an IP address request_address:192.168.24.102
# Request DHCP options param_req:subnet_mask routers param_req:hostname domain_name dns_servers ntp_servers param_req:nis_domain nis_servers param_req:nb_name_servers nb_dd_servers nb_node_type nb_scope param_req:time_offset
# Request options from vendor class acme_opts vendor_id:acme_opts
# Convert option001 to a shell variable with a string value vendor:acme_opts:1:STRING:DNS_SEARCH
# Specify configuration commands to be run command:y:/etc/inet/dhcpc/opt: command:y:/etc/inet/dhcpc/info:
# Set search keyword in /etc/resolv.conf using DNS_SEARCH command:y:/usr/local/acme/set_search:-f /etc/resolv.conf
# Uncomment the following lines to update the client's DNS entry dynamically # dynamic_dns:1 # command:y:/etc/inet/dhcpc/dupdate: