DNS kai qmail

Pavlos Parissis p_pavlos at otenet.gr
Thu Jul 19 10:17:01 EEST 2001


Kalhmera Giorgo,

>Tha to doume auto.  Dokimase thn epomenh fora pou yposthrizeis kati
>tetoio, na exeis ena XTerm proxeiro gia na grapseis kana duo entoles
>kai na kaneis paste ta apotelesmata tous.

Arxizoume exoume kala kai asxhma nea:
[pavlos@~]$ ping sec
PING sec.enlogic.local (192.168.0.66) from 192.168.0.41 : 56(84) bytes of data.
64 bytes from 192.168.0.66: icmp_seq=0 ttl=128 time=255 usec
[pavlos@~]$ nslookup
> sec
Server:         127.0.0.1
Address:        127.0.0.1#53
Name:   sec.enlogic.local
> 192.168.0.66
Server:         127.0.0.1
Address:        127.0.0.1#53

** server can't find 66.0.168.192.in-addr.arpa.: NXDOMAIN
Mallon edw einai to lathos.
An kai prin kanw to otidhpote sikwsa kai ena reverse zone akolouthontas thn simvoulh tou Stamath.
exoume kai leme 
named.conf
controls {
        inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
        type hint;
        file "named.ca";
};

zone "localhost" IN {
        type master;
        file "localhost.zone";
        allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
        type master;
        file "named.local";
        allow-update { none; };
};
#This is  our domain
zone "enlogic.local" IN {
        type master;
        notify no;
        file "enlogic.local";
};
zone "192.168.0.in-addr.arpa" IN {
        type master;
        notify no;
        file "192.168.0";
};
key "rndckey" {
        algorithm hmac-md5;
        secret "NilXvNnGjELHrxDHkYMVQpYvGprcefmqKODjDYddmokjZrnoedIvz0sIPAkY";
};

kai to /var/named/192.168.0
; Zone file for enlogic.local
$TTL 3D

@       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
;
                NS     server.enlogic.local.             ; Inet Address of name server

;
41              PTR     server.enlogic.local.
4               PTR     j-pap.enlogic.local.
66              PTR     sec.enlogic.local.
11              PTR     adaptive.enlogic.local.
14              PTR     ndemou.enlogic.local.
1               PTR     mainserver.enlogic.local.
33              PTR     mobile.enlogic.local.
102             PTR     npana.enlogic.local.

> 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

Are you sure?  Are you absolutely fucking sure?
Eimai sigouros oti .local top-level domain den  uparxei.
Ti?
An ginete mporeis na pei kati perissotero sxetika me to thema afto, dioti den to poli katalava 

[pavlos@~]$ host -t ns local.
Host local. not found: 3(NXDOMAIN)
[pavlos@~]$ host -t ns enlogic.local
enlogic.local. name server server.enlogic.local.

>kati xazo exeis kanei.
Kamoia idea gia to ti xazo exw kanei kai pws diorthenete?


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