Name resolution

Michalis Kabrianis kabrianis at hellug.gr
Fri Nov 12 12:22:28 EET 1999


On 12-Nov-99 Nikos Mavroyanopoulos wrote:
> On Fri, Nov 12, 1999 at 02:23:34AM +0200, Michalis Kabrianis wrote:
> 
>> kabrianis at asterix:/ > hostname
>> asterix
>> kabrianis at asterix:/ > hostname -f
>> asterix.hellug.gr
>> Alla:
>> kabrianis at asterix:/ > host asterix
>> Host not found, try again.
> Νομίζω πως το host κοιτάει τον nameserver και οχι τα files (/etc/hosts).
> 

Mmm ayto den to eixa skeftei. Eida to man page alla den anaferei tipota
akribes se ayto (ektos tou oti rwtaei ton prwto server tou resolv.conf alla
auto den mou fainetai akribes)

>> kabrianis at asterix:/ > ping ovelix
>> PING ovelix.hellug.gr (192.168.0.2): 56 data bytes
> Το ping δεν κανει διακρίσεις, τα κοιτάει όλα.
> 
> -- 
> Nikos Mavroyanopoulos
> mailto:nmav at hellug.gr
> I may not be perfect, but parts of me are excellent.
> --

Ap' oti katalaba to problima einai stin entoli host kai oxi sti function
gethostbyname()
Ara an ypothesw (tha to dokimasw) oti i gethostbyname() (se perl) doulevei
swsta, tha to agnoisw mexri telos tou mina pou kaigomai na doulepsei ena
programma, alliws tha sas ksanaenoxlisw...

Eyxaristw poly

Michalis Kabrianis
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr/archives
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users at hellug.gr
====================================================================



More information about the Linux-greek-users mailing list