질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

DNS설정이 안되네요.ㅡ.ㅜ도와주세요

작성자 정보

  • 초윤기 작성
  • 작성일

컨텐츠 정보

본문

aH 님의 글


IP:218.153.98.67
DN ns.macrobay.com
핑으로는 잡히는데 nslookup으로는 안잡히네용
ㅡ.ㅜ..www.macrobay.com도안잡히구..돌아버리겠어영

/etc/sysconfig/network
NETWORKING=yes
HOSTNAME=dns.macrobay.com
GATEWAY=218.153.98.65

/etc/resolv.conf
nameserver 218.153.98.67
nameserver 168.126.63.1

/etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 macrobay.com macrobay localhost.localdomain localhost
218.153.98.67 dns.macrobay.com dns

/etc/named.conf
// generated by named-bootconf.pl

options {
directory "/var/named";
/*
* 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
//
zone "." IN {
type hint;
file "named.ca";
};

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; };
};

//macrobay

zone "98.153.218.in-addr.arpa" IN {
type master;
file "reverse.zone";
allow-update { none; };
};

zone "dns.macrobay.com" IN {   수정 "macrobay.com"
type master;
file "macrobay.zone";
allow-update { none; };
};

key "key" {
algorithm hmac-md5;
secret "kPkVMPnNKJOnfcTMNGCZJwkRBMvYlioUAYxFTSAVJBv0vkBQutXxFSlntvhh";
};


/var/named/macrobay.zone
$TTL 86400
@ IN SOA dns.macrobay.com. root.macrobay.com.(
1997022700 ;Serial
28800 ;Refresh
14400 ;Retry
3600000 ;Expire
86400 ) ;Minimum
IN NS dns.macrobay.com.
IN MX 10 mail
IN A 218.153.98.67
dns IN A 218.153.98.67
mail IN A 218.153.98.67
www IN A 218.153.98.67
www IN CNAME dns
mail IN CNAME dns


/var/named/reverse.zone
$TTL 86400
@ IN SOA dns.macrobay.com. root.macrobay.com.(
1997022700 ;Serial
28800 ;Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS dns.macrobay.com.
67 IN PTR dns.macrobay.com.

/var/named/localhost.zone
$TTL 86400
$ORIGIN localhost.
@ 1D IN SOA @ root (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum

1D IN NS @
1D IN A 127.0.0.1

/var/named/named.local
$TTL 86400
@ IN SOA dns.macrobay.com root.macrobay.com.(
1997022700 ;Serial
28800 ;Refresh
14400 ;Retry
3600000 ;Expire
86400) ; Minimum
IN NS dns.macrobay.com.
67 IN PTR localhost.



 

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,037 명
  • 현재 강좌수 :  35,811 개
  • 현재 접속자 :  114 명