LinuxQuestions.org
Help answer threads with 0 replies.
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 04-18-2005, 04:40 AM   #1
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Rep: Reputation: 30
hostname-------->ip address


i am using mandrke 10.0 +KDE.

i have network of 20 computers connected by LAN.

these are connected to DNS proxy server 10.1.1.50 port=3128.


and i have find ip address of my local computers from their hostname.

i mean now how to find the ip address of my computer from their respective hostname?


because the local computers hostnames are fixed but their ip addres are not fixed.

when thay reboot get changed their ip address.


every time i go to check the ip address??


so how to convert the hostname to ip address??

is it possible by DNS server query?

is it possible for outside computers?

please help on this issue!!
 
Old 04-18-2005, 05:15 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
Here is a how-to for Linux Dynamic DNS.
You will at least need this on your gateway do that others on the Internet can find you. I involves registering with a third party company.

You haven't indicated how may of the hosts have Internet connections or what kind of servers you are using. For some servers, you should use a static address. Also, what do you use for the DHCP server?

Given that you only have 20 hosts, you might want to use static addresses on your LAN (except for the interface connecting to the Internet). Copying 20 hosts files in a script would not be a lot of work.
 
Old 04-18-2005, 06:08 AM   #3
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
sir all the computers are connected throegh internet ..

and their ip address are unique..
 
  


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
MAC Address based hostname hogg85 Linux - Networking 2 06-13-2005 01:51 PM
changing IP address and hostname ashley75 Linux - General 7 05-19-2005 11:26 AM
how to use the hostname instead of ip address? tuxtamer Linux - Newbie 1 04-15-2005 08:29 AM
hostname to IP address bruse Linux - Networking 5 03-30-2005 12:21 AM
From IP address to hostname swmok Linux - Networking 1 08-22-2003 08:26 AM


All times are GMT -5. The time now is 04:14 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration