wtorek, 16 marca 2010

DNS bind

/etc/bind/named.conf

zone "tychy24.pl" {
type master;
file "/etc/bind/tychy24.pl";
};
zone "26.241.248.195.in-addr.arpa" IN {
type master;
file "/etc/bind/pl.tychy24";
allow-update { none; };
allow-transfer { any; };
};

/etc/bind/tychy24.pl

$TTL 86400
@ IN SOA ns.tychy24.pl. your.email.here (
901 ; Serial
10800 ; Refresh
3600 ; Retry
604800 ; Expire
86400 ) ; Minimum

tychy24.pl. IN NS ns.tychy24.pl.
ns.tychy24.pl. IN A 195.248.241.26
ns1.tychy24.pl. IN A 195.248.241.26
ns2.tychy24.pl. IN A 195.248.241.26
dns.tychy24.pl. IN A 195.248.241.26
dns1.tychy24.pl. IN A 195.248.241.26
dns2.tychy24.pl. IN A 195.248.241.26
tychy24.pl. IN A 195.248.241.26
mail.tychy24.pl. IN A 195.248.241.26
smtp.tychy24.pl. IN A 195.248.241.26
webmail.tychy24.pl. IN A 195.248.241.26
ftp.tychy24.pl. IN CNAME tychy24.pl.
www.tychy24.pl. IN CNAME tychy24.pl.
tychy24.pl. IN MX 10 mail.tychy24.pl.
* IN A 195.248.241.26

/etc/bind/pl.tychy24


$TTL 86400
$ORIGIN 26.241.248.195.in-addr.arpa.
@ IN SOA ns1.tychy24.pl. ns2.tychy24.pl. (
2010031613
3H
15M
1W
1D )
26.241.248.195.in-addr.arpa. IN NS ns1.tychy24.pl.

26.241.248.195.in-addr.arpa. IN PTR ns.tychy24.pl.
26.241.248.195.in-addr.arpa. IN PTR ns1.tychy24.pl.
26.241.248.195.in-addr.arpa. IN PTR ns2.tychy24.pl.
26.241.248.195.in-addr.arpa. IN PTR dns.tychy24.pl.
26.241.248.195.in-addr.arpa. IN PTR dns1.tychy24.pl.
26.241.248.195.in-addr.arpa. IN PTR dns2.tychy24.pl.
26.241.248.195.in-addr.arpa. IN PTR tychy24.pl.
26.241.248.195.in-addr.arpa. IN PTR mail.tychy24.pl.
26.241.248.195.in-addr.arpa. IN PTR smtp.tychy24.pl.
26.241.248.195.in-addr.arpa. IN PTR webmail.tychy24.pl.

Brak komentarzy:

Prześlij komentarz