»Ë»Ñ Æ÷·³
°³¹ßÀÚÆ÷·³ ÀÔ´Ï´Ù.
  • ºÏ¸¶Å© ¾ÆÀÌÄÜ

[CentOS] ³×ÀÓ¼­¹ö ¼³Á¤Çϴµ¥ .. Èûµå³×¿ä. µµ¿ÍÁÖ¼¼¿ä3

OS : CentOS 6.6
domain: xxxxx.com
ip addr: 111.222.333.444

==================
#service named start

Error in named configuration:
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
zone 0.in-addr.arpa/IN: loaded serial 0
xxxxx.com.zone:3: no current owner name
xxxxx.com.zone:5: no current owner name
xxxxx.com.zone:17: no current owner name
xxxxx.com.zone:18: no current owner name
xxxxx.com.zone:19: no current owner name
xxxxx.com.zone:21: no current owner name
xxxxx.com.zone:22: no current owner name
xxxxx.com.zone:23: no current owner name
xxxxx.com.zone:24: no current owner name
xxxxx.com.zone:25: no current owner name
xxxxx.com.zone:26: no current owner name
xxxxx.com.zone:27: no current owner name
xxxxx.com.zone:28: no current owner name
xxxxx.com.zone:30: no TTL specified; zone rejected
zone xxxxx.com/IN: loading from master file xxxxx.com.zone failed: no owner
zone xxxxx.com/IN: not loaded due to errors.
_default/xxxxx.com/IN: no owner
xxxxx.com.rev:3: no current owner name
xxxxx.com.rev:5: no current owner name
xxxxx.com.rev:13: no current owner name
xxxxx.com.rev:14: no current owner name
xxxxx.com.rev:15: no current owner name
zone 333.222.111.in-addr.arpa/IN: loading from master file xxxxx.com.rev failed: no owner
zone 333.222.111.in-addr.arpa/IN: not loaded due to errors.
_default/333.222.111.in-addr.arpa/IN: no owner

=====================================================================
#cat /etc/named.conf

//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//

options {
listen-on port 53 { any; };
listen-on-v6 port 53 { any; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { any; };
recursion yes;
empty-zones-enable no;

dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;


bindkeys-file "/etc/named.iscdlv.key";

managed-keys-directory "/var/named/dynamic";
};

logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};

zone "." IN {
type hint;
file "named.ca";
};

include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";

=======================================================
# cat /etc/named.rfc1912.zones

zone "localhost.localdomain" IN {
type master;
file "named.localhost";
allow-update { none; };
};

zone "localhost" IN {
type master;
file "named.localhost";
allow-update { none; };
};

zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
type master;
file "named.loopback";
allow-update { none; };
};

zone "1.0.0.127.in-addr.arpa" IN {
type master;
file "named.loopback";
allow-update { none; };
};

zone "0.in-addr.arpa" IN {
type master;
file "named.empty";
allow-update { none; };
};

zone "xxxxx.com" IN {
type master;
file "xxxxx.com.zone";
allow-update { none; };
};

zone "333.222.111.in-addr.arpa" IN {
type master;
file "xxxxx.com.rev";
allow-update { none; };
};

==========================================================
# cat /var/named/xxxxx.com.zone

; xxxxx.com.zone

$TTL 1D

@ IN SOA ns.xxxxx.com. webmaster.xxxxx.com. (

0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum


IN NS ns.xxxxx.com.
IN MX 10 mail.xxxxx.com.
IN A 111.222.333.444

ns IN A 111.222.333.444
mail IN A 111.222.333.444
blog IN A 111.222.333.444
music IN A 111.222.333.444
game IN A 111.222.333.444
howto IN A 111.222.333.444
www IN A 111.222.333.444
ftp IN A 111.222.333.444

xxxxx.com. IN TXT "v=spf1 ip4:111.222.333.444 ~all"

=========================================================
# cat /var/named/xxxxx.com.rev

; xxxxx.com.rev

$TTL 1D

@ IN SOA ns.xxxxx.com. webmaster.xxxxx.com. (

0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum

IN NS ns.xxxxx.com.
444 IN PTR ns.xxxxx.com.
444 IN PTR mail.xxxxx.com.

0
ÃßõÇϱ⠴ٸ¥ÀÇ°ß 0
|
°øÀ¯¹öÆ°

´Ù¸¥ÀÇ°ß 0 Ãßõ 0 JUbermensch

´Ù¸¥ÀÇ°ß 0 Ãßõ 0 *°í¸¶¿ö¿ä*

´Ù¸¥ÀÇ°ß 0 Ãßõ 0 ÀÌ¿À´Ï
  • ¾Ë¸² ¿å¼³, »óó ÁÙ ¼ö ÀÖ´Â ¾ÇÇÃÀº »ï°¡ÁÖ¼¼¿ä.
©¹æ »çÁø  
¡â ÀÌÀü±Û¡ä ´ÙÀ½±Û ¸ñ·Ïº¸±â