Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-18-2005, 04:40 AM   #1
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 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
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
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
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..


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 > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:45 AM.

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