[ LUGOS ] DNS vpis

Metod Kozelj metod.kozelj at rzs-hm.si
Mon May 21 15:11:50 CEST 2001


Howdy!

On Mon, 21 May 2001, linux wrote:

> imam vpisano eno domeno  domena.si
> ki ze ima primary in secondary
> 
> sedaj hocem spravit na svojo linux masino
> vpisem v /etc/named.conf

Kaj hoces, da bo tvoj linux primary ali secondary? Ce naj bo secondary,
potem mora tole spodaj izgledati malo druace:

> zone "domena.si" {
>         type master;
>         file "domena.si.ns";
> };

zone "domena.si" {
	type slave;
	file "domena.si.ns";
};


Ce pa hoces, da bo primary, moras datoteko domena.si.ns popraviti tako, da
bo vsaj en NS kazal na IP tvojega linuxa:

> @       IN      SOA     ns.domena.si. root.domena.si.  (
>                                       2001022702 ; Serial
>                                       28800      ; Refresh
>                                       14400      ; Retry
>                                       3600000    ; Expire
>                                       86400 )    ; Minimum
>                 IN      NS      ns.domena.si.
                  IN      NS      linux.domena.si.
>                 IN      MX      10 mail.domena.si.
> 
> www     IN      A       195.210.204.125
> ftp     IN      A       195.210.204.125
> mail    IN      A       195.210.204.125
> ns      IN      A       195.210.204.125
  linux   IN      A       196.197.198.199

Peace!
  Mkx

---- perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'




More information about the lugos-list mailing list