LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-03-2005, 02:12 AM   #1
saneax
Member
 
Registered: Aug 2004
Distribution: Gentoo, Suse, Fedora, Debian
Posts: 86

Rep: Reputation: 15
Wrong Hostname in the DNS and DHCP Address Leases of Windows 2000


Hi Guys,
I am having a Linux Client which gets it IP address from the DHCP which is located on a windows 200 Server. I have a host name, only the IP needs to be recieved. My Linux Box is also a joined to the domain, through Samba. Recently I have changed the hostname of my machine, and tried accessing shares on other machine, which was working. However when other machines tried to access me, they were getting 'network resource unavailable'. Through searching for the problem I see in the DOMain Controller (Windows 2000 Server) where the DNS and DHCP server are running, have wrong pointers to my ip address. in DHCP server, Address Leases, I see that my computer is still named as the old computer name. and same in the DNS. I deleted the lease record from DHCP and the host records from DNS. Restarted the Linux Client, still the address leases showed the old hostname...

any pointers to why DHCP is getting old hostname...

My linux clients details

cat /proc/sys/kernel/hostname shows 'kharbooza'
however after I restart the network, on the DNS server the host with the IP address allocated to me is my Old Hostname which is 'rhel4star'.
I have removed all records from /etc/hosts... still the same thing...

Any help will be much appreciated...

regards
 
Old 03-03-2005, 04:14 AM   #2
saneax
Member
 
Registered: Aug 2004
Distribution: Gentoo, Suse, Fedora, Debian
Posts: 86

Original Poster
Rep: Reputation: 15
Sorry it was a silly mistake I had....

its resolved...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP seems to set hostname = Mac address, doesn't reverse lookup techsimian Linux - Networking 4 08-15-2006 05:11 PM
hostname not showing up in DHCP leases table! halo14 Debian 0 03-24-2005 10:37 AM
dynamically register ip address to windows 2000 dns PantherSE Linux - Networking 0 06-23-2004 01:38 PM
DNS not resolving notes server name and dhcp not releasing leases DanielKwok Linux - Networking 1 02-10-2004 11:04 PM
DNS from DHCP FC1+Xtrasys-2000 clar77 Linux - Wireless Networking 1 01-12-2004 12:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration