Home > other >  CentOS 7 DNS problem
CentOS 7 DNS problem

Time:10-05



Issues that need to be as shown how to solve the
Options {
Listen - on port 53 {any; };
Listen - on - v6 port 53 {: : 1; };
The directory "/var/named";
Dump - the file/var/named "/data/cache_dump db";
Statistics - the file/var/named "/data/named_stats. TXT".
Memstatistics - the file/var/named "/data/named_mem_stats. TXT".
Allow - query {any; };

Recursion yes;
Forwarders {
8.8.8.8;
};

Dnssec - enable no;
Dnssec - validation no;

/* the Path to ISC DLV key */
Bindkeys - the file "/etc/named. Iscdlv. Key".

Managed - keys - directory "/var/named dynamic".

Pid - the file "/run/named/named. Pid";
The session - keyfile "/run/named/session. The key".
};

Logging {
The channel default_debug {
The file "data/named. Run";
Severity dynamic;
};
};

Zone "baidu.com" IN {
Type the master;
The file "named.baidu.com".
Allow -update {none; };
Allow - transfer {8.8.8.8; };
};


Named file
The $86400
TTLThe @in SOA ns.baidu.com root (
3; Serial
1 d. Refresh
1 h; Retry
1 w; The expire
0); Minimum
The @in NS ns.baidu.com
Ns IN A 61.135.169.125
WWW IN A 61.135.169.125
Mail IN A 192.168.1.11


  • Related