Linux server configuration

xiaoxiao2021-03-06  61

Select the BLOG 1: DNS server setting 1 from BTBTD. Edit /etc/named.conf// generated by named-bootconf.pl options {Directory "/ var / name"; / ** if there is a firewall between you and nameservers you want * to talk to, you might need to uncomment . the query-source * directive below Previous versions of BIND always asked * questions using port 53, but BIND 8.1 uses an unprivileged * port by default * /// query-source address * port 53;.}; // // a Caching Only Nameserver config // controls {inet 127.0.0.1 allow {localhost;} keys {rndckey;};}; zone "." in {type hint; file "named.ca";}; zone "mydomain.com" in {TYPE MASTER; file "named.mydomain.com"; allow-update {none;};}; zone "1.168.192.in-addr.Arpa" in {type master; file "named.mydomain.com.rev" };}; zone "localhost" in {type master; file "localhost.zone"; allow-update {none;};}; zone "0.0.127.in-addr.Arpa" in {TYPE MASTER; File "named.local"; allow-update {none;};}; include "/etc/rndc.key"; 2. Edit forward resolution file / var/named/named.mydomain.com! 86400 @ in soa my.mydomain.com. Root.my.mydo (1997022700; Serial28800; Refresh14400; Retry3600000; Expire86400); minimumin ns my.mydomain.com.in MX 10 my.mydomain.com. My IN A 192.168.1.50www in cname my.mydomain.com.ftp in CNAME my.mydomain.com.smtp in cname my.mydomain.com.pop3 in cname my.mydomain.com. 3. Editing reverse resolution file /var/named/named.mydomain.com.rev #ttl 86400 @ in SOA ot.ns.myindomain.com. (1997022700; Serial28800; Refresh14400; Retry3600000; Expire86400); minimumin ns my.mydomain.com. 50 in ptr my.mydomain.com. 4. Edit / Var / named /NAMED.LOCAL file $ TTL 86400 @

In SOA my.mydomain.com. Root.my.mydomain.com. (1997022700; Serial28800; Refresh14400; Retry3600000; Expire86400); minimumin ns my.mydomain.com. 1 in Ptr Localhost. 5. Edit /etc/Resolv.conf # Made-by-rp-pppoedomain mydomain.comnameserver 192.168.1.50search Localdomain author Blog:

http://blog.9cbs.net/btbtd/

转载请注明原文地址:https://www.9cbs.com/read-111478.html

New Post(0)