/etc/hosts question

Giorgos Keramidas keramida at ceid.upatras.gr
Mon Jul 17 09:46:04 EEST 2000


> 
> Paidia geia.
> 
> Xrisimopoiw SUSE 6.2 kai CDE.
> 
> Sto /etc/hosts to YaST (an to afisw na to grapsei mono tou) grafei:
> 
> 127.0.0.1       localhost
> 127.0.0.2       gaia.gr  gaia
> 
> To CDE omws thelei na einai (to /etc/hosts):
> 
> 127.0.0.1       gaia.gr   gaia.
> 
> Mporei kapoios na mou pei poia einai i diafora ?

stin pragmatikothta ola ta hostnames teleionoun se mia teleia.
auti i teleia einai i arxh tou dentrou pou exei paidia ta root-domains
(p.x. to .com, to .net, to .gr, klp).

an exeis balei sto /etc/hosts sou to hostname san "gaia.", tote auto
einai to fully qualified name enos host pou legetai "gaia." ki auto einai
olo.  an den exeis balei tin teleia sto telos, tote apo to /etc/resolv.conf
sou pou prepei na exei mia grammi:

	domain kati.gr

tha prostethei to "gaia" (xoris teleia auti ti fora, afou den tin exeis
balei), stin arxi tou domain gia na brethei to fully qualified host name.

Opote, an to domain sou einai "kati.gr", h diafora einai:

	127.0.0.1	gaia
	    -> gaia.kati.gr.
	127.0.0.1	gaia.
	    -> gaia.

den ksero an se mperdepsa, alla to DNS-HOWTO h to biblio ths O'Reilly
gia to "bind" tha se bon8nsoun pio kala, an den to katalabes hdh ;-)

--
linux-greek-users mailing list -- http://lists.hellug.gr




More information about the Linux-greek-users mailing list