[LUGOS] DNS server

Luka Goltnik - s57lx s57lx at hamradio.si
Mon Dec 10 12:56:13 CET 2007


> V bistvu nimam pojma kaj DNS SPLOH JE.

DNS je: http://en.wikipedia.org/wiki/Domain_name_system

V bistvu, kaj počne je, da pretvarja imena domen v IP-je. Naprimer kaj
naredi:

$ dig google.com   << dig je programcic, s katerim lahko izvemo IP
dolocene domene.

; <<>> DiG 9.4.1-P1 <<>> google.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3953
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 4, ADDITIONAL: 4

;; QUESTION SECTION:  << Po cem sprasujemo
;google.com.                    IN      A

;; ANSWER SECTION: << Tule pa dobimo odgovore na nase vprasanje kdo je
google.com, se pravi da vsakic ko zelis obiskati google.com, odgovori
eden od spodnjih streznikov
google.com.             272     IN      A       64.233.187.99
google.com.             272     IN      A       72.14.207.99
google.com.             272     IN      A       64.233.167.99

;; AUTHORITY SECTION:  << Tule izvemo kateri so strezniki, ki skrbijo za
domeno google.com (DNS strezniki)
google.com.             67718   IN      NS      ns3.google.com.
google.com.             67718   IN      NS      ns4.google.com.
google.com.             67718   IN      NS      ns1.google.com.
google.com.             67718   IN      NS      ns2.google.com.

;; ADDITIONAL SECTION:  << Tule pa izves se IPje od DNS streznikov
ns1.google.com.         345035  IN      A       216.239.32.10
ns2.google.com.         345035  IN      A       216.239.34.10
ns3.google.com.         345035  IN      A       216.239.36.10
ns4.google.com.         345035  IN      A       216.239.38.10

Drugace pa ce te zanima kako si postavis sam BIND streznik, imas v
slovenscino preveden vodic, ki ga najdes v knjigi Kako v Linuxu, ki ga
je afaik izdal Lugos pri zalozbi Pasadena. Prevod lahko tudi izbrskas na
www nekje, drugace pa za originalni in up-to-date vodic obisci:
http://tldp.org/HOWTO/DNS-HOWTO.html

Lp
Luka
-- 
BOFH Excuse #210:

We didn't pay the Internet bill and it's been cut off.

Luka Goltnik - S57LX, s57lx na hamradio.si

http://lea.hamradio.si/~s57lx


More information about the lugos-list mailing list