From owner-freebsd-questions Tue Mar 24 13:48:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA04986 for freebsd-questions-outgoing; Tue, 24 Mar 1998 13:48:14 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from chain.freebsd.os.org.za (uFHCZvMzdRGMuoCExjulzBvj/6vyOJK0@chain.freebsd.os.org.za [196.7.74.174]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA04942 for ; Tue, 24 Mar 1998 13:47:55 -0800 (PST) (envelope-from khetan@chain.freebsd.os.org.za) Received: from localhost (khetan@localhost) by chain.freebsd.os.org.za (8.8.8+3.0Wbeta13/8.8.8) with SMTP id XAA13774 for ; Tue, 24 Mar 1998 23:47:52 +0200 (SAT) Date: Tue, 24 Mar 1998 23:47:52 +0200 (SAT) From: Khetan Gajjar X-Sender: khetan@chain Reply-To: Khetan Gajjar To: questions@FreeBSD.ORG Subject: DHCP server giving out "wrong" addresses Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi. I've just setup isc-dhcp2 for my network, and am having problems with the hostnames that are being given out. If I specify a hostname in the Control Panel, Networks, Identification tab, then it uses that as a prefix to the domain, and _doesn't_ use the official DNS name; silly Windows boxen :-( i.e if I call the machine blahblah, and the IP address it's given resolves to dingbat, it'll say that it's blahblah.freebsd.os.org.za, and not dingbat.freebsd.os.org.za as it should. This is highly irritating. Here's my DHCP config file. subnet xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx { option routers xxx.xxx.xxx.xxx; option domain-name-servers xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx, xxx.xxx.xxx.xxx; option domain-name "freebsd.os.org.za"; option broadcast-address xxx.xxx.xxx.xxx; option subnet-mask xxx.xxx.xxx.xxx; get-lease-hostnames on; use-host-decl-names on; range xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx; } I tried get-lease-hostnames and use-host-decl-names out of sheer frustration, but it didn't work. Any ideas/solutions ? A search of the isc site (which has a link to some mailing lists, but doesn't allow you to view them) and questions didn't help. TIA. --- Khetan Gajjar (!kg1779) khetan@iafrica.com (w); khetan@os.org.za (h) http://www.os.org.za/~khetan | Finger: khetan@chain.freebsd.os.org.za UUNET Internet Africa Support | FreeBSD enthusiast-www2.za.freebsd.org A computer without Microsoft and Intel is like chocolate cake without tomato sauce and mustard To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message