Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- key "rndckey" {
- algorithm hmac-md5;
- secret "e/2SZFwiuVQj0Keb68mqhGxIFOwRXaIOwaxoYm9PT+M=";
- };
- controls {
- inet 127.0.0.1 port 953
- allow { 127.0.0.1; } keys { "rndckey"; };
- };
- options {
- directory "/var/named";
- pid-file "/var/run/named/named.pid";
- recursion yes;
- allow-recursion {
- 127.0.0.1;
- 10.20.20.0/24; //network anda
- };
- listen-on {
- 127.0.0.1;
- 61.8.69.117; //ip server yang menjalankan bind ini
- };
- query-source address * port 53;
- // sembunyikan versi bind anda
- version none;
- allow-query {
- 127.0.0.1;
- 10.20.20.0/24; //network anda
- };
- };
- zone "." IN {
- type hint;
- file "named.ca";
- };
- // contoh, buat zone baru. myhost.web.id
- zone "myhost.web.id" IN {
- type master;
- file "data/myhost.web.id.zone";
- allow-update { none; };
- };
Add Comment
Please, Sign In to add comment