Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Mar 1998 23:47:52 +0200 (SAT)
From:      Khetan Gajjar <khetan@chain.freebsd.os.org.za>
To:        questions@FreeBSD.ORG
Subject:   DHCP server giving out "wrong" addresses
Message-ID:  <Pine.BSF.3.96.980324234312.11674B-100000@chain>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980324234312.11674B-100000>