St. SCANIATM # - WebSite

  
Igen igen. Puszit a nyuszinak! Igen Igen ... "Amerika Pite 7"
2025. Október 26. 22:53 
 
Navigáció
Menü
Fõoldal
Magamról
Letöltések
Cikkek / Leírások
GY.I.K./Faq
Kapcsolat
Oldal Térkép
Linkek

Oldalaim
Honlap
Szerverem
Pub FTP-ém
SkyDrive
Statisztika
Látogatottság
WebSas
websas.hu

counter

Tartalom
Tárhely:
200MB
Felhasznált:
98.7MB
Felhasznált: 49.3%
Cikkek: 26 db
GY.I.K.: 5 db
Adatod
Your IP:
216.73.216.97
Your Host:
216.73.216.97
Képernyõd felbontása:

 

SCANIATM RSS
 

Cikkek

 

DNS - Bind

A bind telepítése:
sudo apt-get install bind9 dnsutils

Telepítés után automatikusan elindul a szerver, ezért elõször gondoskodjunk a leállításáról.
sudo /etc/init.d/bind9 stop

A named.conf tartalma (Letölthetõ itt.):
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind/README.Debian for information on the
// structure of BIND configuration files in Debian for BIND versions 8.2.1
// and later, *BEFORE* you customize this configuration file.
options {
directory "/var/cache/bind";
forwarders {
(külsö dns 1);
(külsö dns 2);
};
listen-on port 53 {
127.0.0.1;
10.100.40.1;
};
};
// reduce log verbosity on issues outside our control
logging {
category lame-servers { null; };
// category cname { null; };
};
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};

// add entries for other zones below here
zone "sajatnet.hu" {
type master;
file "/etc/bind/db.sajatnet";
};
zone "100.10.in-addr.arpa" {
type master;
file "/etc/bind/db.100.10";
};


A db.sajatnet tartalma(Letölthetõ itt.):
$TTL 86400
@ IN SOA gepneve.sajatnet.hu. root.gepneve.sajatnet.hu. (
20090318 ; Serial
28800 ; Refresh
7200 ; Retry
604800 ; Expire
86400 ) ; Negative Cache TTL
;
@ IN NS gepneve.sajatnet.hu.
;-------------------------------------------------------;
gepneve IN A 10.100.40.1 ;
@ IN MX 10 gepneve.sajatnet.hu. ;
ns IN CNAME gepneve ;
www IN CNAME gepneve ;
ftp IN CNAME gepneve ;
mail IN CNAME gepneve ;
proxy IN CNAME gepneve ;
;-------------------------------------------------------;
masikgepneve IN A 10.100.40.2
; vege.
 

A db.100.10 tartalma(Letölthetõ itt.):
; BIND data file for 192.168.x.x & 10.100.x.x reverse DNS
;
$TTL 86400
@ IN SOA gepneve.sajatnet.hu. root.gepneve.sajatnet.hu. (
2000092101 ; Serial
28800 ; Refresh
7200 ; Retry
604800 ; Expire
86400 ) ; Negative Cache TTL
;
@ IN NS gepneve.sajatnet.hu.
;
1.40 IN PTR gepneve.sajatnet.hu.
2.40 IN PTR masikgepneve.sajatnet.hu.
;vege
 

A következõ paranccsal indíthatjuk el:
sudo /etc/init.d/bind9 start
Hirdetés