PDA

View Full Version : Going crazy.... change hostname on my FC6 to a name that a Win Xp had....


mkj4
2006-11-27, 01:16 PM CST
Case:

Have a "server"(win xp) called music here on my work. Renames it to "music2".

Shuts it down.

Rename my FC6 computer to "music"

Starting up my FC6 computer.

Start up my win xp computer. ....and now when I ping "music" my "#¤%"# win xp computer answers....and also on ping "music2"

-How tell the DNS that my FC6 computer now is called "music"?

Very happy if someone can help me!

BR

brunson
2006-11-27, 01:27 PM CST
How did you tell DNS that your XP computer was called Music in the first place? Are you using a windows server for DNS? The XP box is probably adding itself to DNS dynamically and you would need to go invalidate that DDNS entry. Try configuring ddclient on you linux box to add itself to DNS, it may overwrite the record with its own.

mkj4
2006-11-27, 01:58 PM CST
How did you tell DNS that your XP computer was called Music in the first place? Are you using a windows server for DNS? The XP box is probably adding itself to DNS dynamically and you would need to go invalidate that DDNS entry. Try configuring ddclient on you linux box to add itself to DNS, it may overwrite the record with its own.

sorry, newbie one here ...

Is there any command I can enter in terminal, which sends message to the DNS "Hello, now I have the name "music"?

mkj4
2006-11-27, 02:33 PM CST
the problem is probably that I not understand how our network DNS works...

Maybe someone have time to tell?

-Why my XP pro still replyed when I renamed it to "music2" from "music".....when pinging "music"....

Is the solution to call the DNS admin and tell him to manually delete the records on "music" on the DNS server?

:(

brunson
2006-11-27, 02:45 PM CST
The answer is twofold:
1) Wait long enough for people to read and reply to your questions before following up your own posts.
2) A lack of understanding of how DNS in general, not your network's DNS works.

IP communications over a network never use names, they are only there for the convenience of humans. When you ping "music" on your network, your computer sends a request to the DNS server listed in /etc/resolv.conf and asks for an IP address, it then sends an ICMP echo request to that address, the device on the other end has no idea what name was originally used to look up that IP address, it simply replies to it. That is why your XP box replies even though it is called "music2" now.

Is there any command I can enter in terminal, which sends message to the DNS "Hello, now I have the name "music"?
Yes, it's called ddclient, which I mentioned above. However, in order to use ddclient you will need information about DNS on your network that you will probably need to ask your DNS administrator, anyway. So you should probably just ask him to invalidate the record. BUT, unless he's willing to assign you a static IP address and DNS record, you wil probably need to configure ddclient to register your machine with Dynamic DNS.

So, it sounds like you're going to have to talk to your DNS admin no matter what.

mkj4
2006-11-27, 02:55 PM CST
I should also learn how to google too...

http://support.microsoft.com/kb/139055

that sounds like a solution too...(?)

brunson, thanks for your help!

BR