DNS kai qmail

Pavlos Parissis p_pavlos at otenet.gr
Wed Jul 18 14:01:02 EEST 2001


Geia sas,
Epeidh thelw na steisw mesa sto kata kalokairo ena mail server me qmail prepei na sthsw pali mesa 
sto kata kalokairo pou oloi einai sta nhsia kai surfaroune ena DNS.

Mexri stigmhs o DNS voulevei, fenomenika:)
Apo ton server mporw kai kanw dig se olla ta pc,
an kai exw dei otan dinw dig hostanme sto  AUTHORITY SECTION pernw  A.ROOT-SERVERS.NET. ....
kai an dwsw dig hostname.domainname pernw sto AUTHORITY SECTION to domainname mou, den exw vrei
akoma giati ginete afto akoma.
Me to nslookup pali den exw provlima vriskei tis ip kai ta resta.
Kai genika olla ta pc kanoun "sosta" ip resolving.

Eimai sthn fash tou configuration tou qmail etsi dinw
[root@/home/pavlos/qmail/qmail-1.03]# ./config
Your hostname is server.enlogic.local.
hard error
Sorry, I couldn't find your host's canonical name in DNS.
You will have to set up control/me yourself.

Opa lew kapoia malakia ekana me ton DNS.
mporw vevaia na treskw to ./config-fast alla theorw pws gia na mhn to vriskei kati lathos ginete
sto
DNS ara prepei na lithei to provlima kai oxi na agnoithei.
Psaxnw sta archive tis listas tou qmail kai vriskw ena paromoio thread to opoio eixe san
symperasma na
valw sto DNS mia line gia to hostname tou server pou tha katsi to qmail.
Se emena ta pragmata einai apla, exoume ena server pou einai Gateway,DNS,samba kai thelei na ginei
kai mailserver mesa ksana lew sto kata kalokairo tromara tou.
exei hostname server.enlogic.local kai IP 192.168.0.41
sto /etc/named.conf exw thn sxetikh  zone
zone "enlogic.local" IN {
        type master;
        notify no;
        file "enlogic.local";
};
kai sto /var/named/enlogic.local exw
; Zone file for enlogic.local
$TTL 3D
$ORIGIN enlogic.local.
@       IN      SOA     server.enlogic.local. root.enlogic.local. (
                        200114071       ; serial, todays date + todays serial #
                        8H              ; refresh, seconds
                        2H              ; retry, seconds
                        4W              ; expire, seconds
                        1D )            ; minimux, seconds
;
        IN        NS     server             ; Inet Address of name server
;
localhost       A       127.0.0.1
server		A       192.168.0.41
j-pap           A       192.168.0.4
sec             A       192.168.0.66
adaptive        A       192.168.0.11
ndemou          A       192.168.0.14
mainserver      A       192.168.0.1
mobile          A       192.168.0.33
npana           A       192.168.0.102

opws vlepete mesa ston DNS exw dhlsh thn ip tou server.

An kapoios den einai se kamoia paralia kai pinei caffe kai xazevei tis touristries kai kserei ti
pezete poli tha xarw na ton akousw.

Filika,
PAvlos

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I love having the feeling of being in control
while i have the sensation of speed

The surfer of life
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




More information about the Linux-greek-users mailing list