LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   host name resolution (https://www.linuxquestions.org/questions/linux-newbie-8/host-name-resolution-161908/)

Melissa22 03-24-2004 02:35 PM

host name resolution
 
Okay I am working on a linux networking lab. There is a question, that I don't understand.

What will be the result of the host name resolution when mulitple IP addresses are associated witht he same host name in the /etc/hosts file?

The question before that is Explain why a static mapping of names and IP addresses is impractical when the number of hosts is large. This would be because of having to edit and delete changes in /etc/hosts. It would take to much time. The static mapping would only be practical in a small network that didn't change very often.

Any help would be appreciated!

Mara 03-24-2004 04:21 PM

We don't answer homework questions, so I present clues :)
The question is probably about reverse resolution (ip -> hostname). You should test it, but I think it'll resolve in first one found.
Second question: there's something more. Imagine you have 100 machines, every has its own /etc/hosts. How would you keep them up to date?

Melissa22 03-24-2004 05:41 PM

I understand that. I wasn't asking for an answer. I only come to see if I could get some suggestions.

Sorry,

Melissa

fizazz88 03-24-2004 09:26 PM

...DNS server...?

Mara 03-25-2004 04:55 PM

Melissa, asking for suggestions is perfectly OK. I understand you know I had to write about rules to make things clean. :)


All times are GMT -5. The time now is 12:08 AM.