View RSS Feed

Peyman Yousefi

Linux System

  1. Bind DNS Forward & Reverse

    توسط - 2012-07-31 - 05:25 PM (Peyman Yousefi)
    nano /etc/named.conf
    کد:
    include "/etc/rndc.key";
    
    controls { inet 127.0.0.1 port 953 allow { localhost; none; } keys { rndc-key; }; };
    
    acl clients { 192.168.35.0/24; };
    
    options {
            listen-on port 53 { 127.0.0.1; 192.168.35.1; };
            listen-on-v6 port 53 { none; };
            directory       "/var/named";
    
            allow-query     { localhost; clients; none; };
            allow-recursion {
    ...
    دسته ها
    Linux
  2. Bind DNS Forwarding & Caching

    توسط - 2012-07-31 - 05:23 PM (Peyman Yousefi)
    nano /etc/named.conf
    کد:
    controls { inet 127.0.0.1 port 953 allow { localhost; none; } keys { rndc-key; }; };
    
    acl clients { 80.191.222.0/24; 192.168.35.0/24; };
    
    options {
            listen-on port 53 { 127.0.0.1; 192.168.35.1; 80.191.222.1; };
            listen-on-v6 port 53 { none; };
            directory       "/var/named";
            forward only ;
            forwarders { 8.8.4.4; 4.2.2.5; } ;
        
      max-cache-size 2097152
    ...
    دسته ها
    Linux