On Tuesday 09 October 2001 05:21 pm, Tom Wesley wrote:
On Tuesday 09 October 2001 8:35 pm, Cliff Sarginson wrote:
On Tue, Oct 09, 2001 at 06:33:27PM +0100, Tom Wesley wrote:
Hi,
I've just installed a SuSE 7.0 box onto our work nt network. All the machines on the network us dhcp to get their ip info and all works fine for them. With the linux machine it gets it's ip and nameserver, so all the external www works fine. In fact the whole network connection works, all but one thing. If I try to ping a local machine by it's hostname then it cannot be found. But if I try using their IP it all works ok. Anyone know what I've missed?
Cheers, Tom
Well ping has got to find something that translates the hostname into an IP! Usually it will get this from /etc/hosts, a local nameserver, NIS, LDAP .. you name it. This depends on what is in your /etc/resolv.conf. Someone other than me can tell you how you go about this if your DHCP setup does not have a fixed mapping of a particular host to a particular IP address. It can be done, but I have never done it !
Any takers? I can't set up /etc/hosts. This machines all use dhcp, so they change. How can this be set up?
The short answer: You may need dynamic DNS (DDNS). What DDNS does is (conceptually) to couple DHCP's allocation of IP addresses with the desired hostnames of particular machines. The long answer: Starting with Windows 2000, Micro$oft has implemented DDNS natively in their servers. Unfortunately, the did a Microsoft with it. That is to say, they made it so that their Windows clients "prefer" and will work better with a Microsoft DDNS server. Even though DDNS itself is an IETF standard (RFC 2136, 2137, and 3007, among others), Microsoft has chosen to try to push their servers onto the "top" of the pyramid. This has to do with their Active Directory (which I affectionately refer to as "Captive Directory"), itself a bastardized flavor of LDAP. I'm not enough of a Microsoft expert to give detailed suggestions on what to do about this, but I'm aware of the problems. Win2K workstations *will* work with standard DDNS and LDAP servers, but Microsoft doesn't support some of their domain and security features in this mode. Perhaps there is a Windows guru on the list who can either enlighten all of us with a recommended workaround, or who can respond to your query by private mail since this isn't a Win2K list. I hope this is at least helpful in defining the problem for you. Scott -- -----------------------+------------------------------------------------------ Scott Courtney | "I don't mind Microsoft making money. I mind them courtney@4th.com | having a bad operating system." -- Linus Torvalds http://www.4th.com/ | ("The Rebel Code," NY Times, 21 February 1999)