 |
 |
 |
 |
|
>> Read No. 33658 article |
|
|
네임서버 세팅에서 잘못된부분좀.. 수정해주세요.
|
 |
 |
 |
 |

등록 2001-06-20 15:00:00
조회 1
이름 넷가

|
 |
 |
몇가지 간단한 질문좀 드릴려고 합니다..
ip 하나가지고 모든걸 할려고 하는데..
ip : 211.57.70.206
도메인 : tipsos.com
운영체제 : 알짜리눅스 6.2
처음 설치할때.. 서버로 깔았습니다...
문제는..
tipsos.com, www.tipsos.com 하면.. 접속이 안되고..
ns.tipsos.com 하면.. 접속이 잘됩니다.. -.-;;
최대한.. 정보를 적어드리겠습니다..
어디가 잘못된가 같은지 알려주세요...
부탁드립니다.
1)소스1
-------------------------------------------------------------------------------
[root@ns netgah]# /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:90:27:A1:C5:E7
inet addr:211.57.70.206 Bcast:211.57.70.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5096 errors:0 dropped:0 overruns:0 frame:0
TX packets:253 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:11 Base address:0xe000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:84 errors:0 dropped:0 overruns:0 frame:0
TX packets:84 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
-------------------------------------------------------------------------------
소스2
-------------------------------------------------------------------------------
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
ns.tipsos.com * 255.255.255.255 UH 0 0 0 eth0
211.57.70.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 211.57.70.1 0.0.0.0 UG 0 0 0 eth0
default 211.57.70.1 0.0.0.0 UG 1 0 0 eth0
-------------------------------------------------------------------------------
./route 했을때.. 이렇게 정보가 나옵니다..
여러번 손대다보니..
저및에.. default가 두게가 생겨부렀습니다..
어케 없애야 하나요..
그리고..
ns.tipsos.com이라고 나오는데.. 원래는 아이피가.. 나와야 하는거 아닌가요??
2)소스2
name.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 "0.0.127.in-addr.arpa" in{
type master;
file "named.local";
};
zone "70.57.211.in-addr.arpa" in{
type master;
file "named.rev";
};
zone "tipsos.com" in{
type master;
file "db.tipsos.com";
};
-------------------------------------------------------------------------------
소스3
db.tipsos.com
-------------------------------------------------------------------------------
@ IN SOA ns.tipsos.com. root.tipsos.com.
(
1997022700 ;Serial
28800 ;Refresh
14400 ;Retry
3600000 ;Expire
86400) ;Minimum
IN NS ns.tipsos.com.
tipsos.com. IN MX 10 mail.tipsos.com.
mail.tipsos.com. IN A 211.57.70.206
tipsos.com. IN A 211.57.70.206
ns IN A 211.57.70.206
jimi IN A 211.57.70.206
www IN CNAME jimi
-------------------------------------------------------------------------------
소스4
named.rev
-------------------------------------------------------------------------------
206 IN PTR tipsos.com.
206 IN PTR ns.tipsos.com.
-------------------------------------------------------------------------------
소스5
nslookup 했을때의 결과입니다..
-------------------------------------------------------------------------------
[root@ns /etc]# nslookup www.tipsos.com ns.tipsos.com
Server: tipsos.com
Address: 211.57.70.206
Name: jimi.tipsos.com
Address: 211.57.70.206
Aliases: www.tipsos.com
[root@ns /etc]# nslookup www.yahoo.co.kr ns.yahoo.co.kr
Server: www37.yahoo.co.kr
Address: 211.32.119.71
Name: rc.yahoo.co.kr
Address: 211.32.119.151
Aliases: www.yahoo.co.kr
-------------------------------------------------------------------------------
 | |
|
|
|
|
페이지로딩: [ 0.33 초 ]
작업시간: [ 0.03 초 ]
|
|
 |
 |
![[TOP]](/images/color///top.gif) 
|
 |
 |
 |
 |
|
|