dns 설정
작성자 정보
- 히키군 작성
- 작성일
컨텐츠 정보
- 1,503 조회
- 0 추천
- 목록
본문
도메인을 등록 하고 dns 설정 해서 웹 서버을 돌릴려고 하는데요
dns 설정 부분에서 걸리고 있습니다.
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
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
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; };
};
zone "vgameonline.net" IN {
type master;
file "vgameonline.zone";
allow-update { none; };
};
zone "xxx.xxx.xxx.in-addr.arpa" IN {
type master;
file "vgameonline.rev";
allow-update { none;};
};
========================================
named.conf 설정
=========================================
$TTL 86400
@ IN SOA ns.vgameonline.net. root.ns.vgameonline.net. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.vgameonline.net.
1 IN PTR ns.vgameonline.net.
2 IN PTR www.vgameonline.net.
3 IN PTR ftp.vgameonline.net.
============================================================================
.rev 설정
=============================================================================
$TTL 86400
@ IN SOA ns.vgamonline.net. root.vgameonline.net. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.vgameonline.net.
IN A xxx.xxx.xxx.xx
ns IN A xxx.xxx.xxx.xx
WWW IN A xxx.xxx.xxx.xx
ftp IN A xxx.xxx.xxx.xx
============================================================================
.zone 설정
==============================================================================
그리고 네임서버 부팅시 rndc접속이 안되었다고 나오는데 이것도 상관 있는지요
관련자료
-
이전
-
다음