Date: 18 Jul 1999 05:32:44 -0000 From: vladimir@math.uic.edu To: freebsd-questions@FreeBSD.ORG Subject: DHCP and DNS Message-ID: <19990718053244.9904.qmail@math.uic.edu>
next in thread | raw e-mail | index | archive | help
Hello, I am trying to configure freebsd machines on a subnet to use dhcp. I would like dhcpd on a server to perform a DNS resolution on a hostname and return a corresponding IP/hostname pair to the client. If I put the following into /etc/dhcpd.conf: group { use-host-decl-names true; get-lease-hostnames true; host willie { hardware ethernet 00:00:92:90:29:57; fixed-address willie.math.uic.edu; } } then the hostname=willie and it's IP number is returned to the host with the ethernet number 00:00:92:90:29:57. How would I do the same for a range of addresses? I am trying to avoid specifying these "host" declaration for every client. This would allow me to keep DNS info and dhcp-assigned IP/hostnames the same. I tried this: group { use-host-decl-names true; get-lease-hostnames true; subnet 131.193.180.0 netmask 255.255.255.0 { range 131.193.180.100 131.193.180.104; range 131.193.180.107 131.193.180.250; max-lease-time 2592000; option subnet-mask 255.255.255.0; option broadcast-address 131.193.180.255; option routers 131.193.180.1; } } ...and dhcpd returns an empty hostname to the client. What am I missing? Thanks! Vladimir vladimir@math.uic.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990718053244.9904.qmail>