Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $$$$$$$$$$$$$$$$$$$$$$$$NAMED.CONF$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
- ###### options
- options {
- directory "C:\named\etc";
- # allow-transfer {
- # IP.adres.secondary.dns;
- # };
- };
- ###### root servers
- zone "." {
- type hint;
- file "named.root";
- };
- ###### primary dns
- zone "localhost" {
- type master;
- file "zones\localhost.zone";
- allow-update { none; };
- };
- zone "kolasinski.pl" {
- type master;
- file "zones\kolasinski.pl";
- allow-update { none; };
- allow-transfer { secondary.dns; };
- notify yes;
- };
- ###### rev dns
- zone "0.0.127.in-addr.arpa" {
- type master;
- file "zones\0.0.127.in-addr.arpa";
- allow-update { none; };
- };
- ##########################################
- key "rndc-key" {
- algorithm hmac-md5;
- secret "Q0D1tV4OcebDYtshuO7+Zg==";
- };
- controls {
- inet 127.0.0.1 port 953
- allow { 127.0.0.1; } keys { "rndc-key"; };
- };
- $$$$$$$$$$$$$$$$$$$$$$$$$$$$LOCALHOST.ZONE$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
- $TTL 86400
- $ORIGIN localhost.
- @ IN SOA ns1.kolasinski.pl. root.kolasinski.pl. (
- 2011040201 ; Serial (numer seryjny)
- 28800 ; Refresh (odswiezanie co 8 sekund)
- 14400 ; Retry (ponowienie za 4 godz)
- 3600000 ; Expire (wygasniecie)
- 86400 ) ; Minimum (minimalny czas zycia 24h)
- @ IN NS ns1.kolasinski.pl.
- @ IN A 127.0.0.1
- $$$$$$$$$$$$$$$$$$$$$$$$$$KOLASINSKI.PL$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
- $TTL 86400
- $ORIGIN kolasinski.pl
- @ IN SOA ns1.kolasinski.pl. root.kolasinski.pl. (
- 2011040201 ; serial [yyyyMMddNN]
- 28800 ; refresh [8h]
- 3600 ; retry [1h]
- 604800 ; expire [7d]
- 86400) ; minimum [1d]
- #IN NS secondary.server.
- @IN NS ns1.kolasinski.pl.
- @IN MX 10 poczta.kolasinski.pl.
- @ IN A 192.168.56.9 ; IP serwera z kolasinski.pl
- NS1 IN A 192.168.56.9 ; IP naszego serwera dns dla kolasinski.pl
- poczta IN A 192.168.56.9 ; IP serwera poczty dla kolasinski.pl
- www IN CNAME kolasinski.pl
- @ IN TXT "v=spf1 a mx ip4:192.168.56.9 -all"
- @ IN SPF "v=spf1 a mx ip4:192.168.56.9 -all"
- $$$$$$$$$$$$$$$$$RNDC.CONF$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
- # Start of rndc.conf
- key "rndc-key" {
- algorithm hmac-md5;
- secret "Q0D1tV4OcebDYtshuO7+Zg==";
- };
- options {
- default-key "rndc-key";
- default-server 127.0.0.1;
- default-port 953;
- };
- # End of rndc.conf
- # Use with the following in named.conf, adjusting the allow list as needed:
- # key "rndc-key" {
- # algorithm hmac-md5;
- # secret "OxeXZ1+udvSuKNNm0wuqHQ==";
- # };
- #
- # controls {
- # inet 127.0.0.1 port 953
- # allow { 127.0.0.1; } keys { "rndc-key"; };
- # };
- # End of named.conf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement