named 설정을 했는데 확인 부탁드립니다.
글쓴이: cssml / 작성시간: 일, 2004/03/14 - 5:35오후
초보리눅서 입니다.
어리버리 알지도 못하는 부분을 돌아다니며 공부해보려니 참 어렵기 그지 없습니다.
제가 셋팅한 부분을 확인해주시고 지적할 부분 지적좀 부탁드리겠습니다.
레드헷 9.0
네임케싱서버는 기본 리눅스 설치할때 체크해서 설치했습니다.
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 // controls { inet 127.0.0.1 allow { localhost; } keys { rndc-key; }; }; 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 "mydomain.net" IN { type master; file "mydomain.zone"; allow-update { none; }; }; zone "222.333.444.in-addr.arpa" IN { type master; file "mydomain.rev"; allow-update { none; }; include "/etc/rndc.key";
rndc.conf 설정부분 # Start of rndc.conf key "rndc-key" { algorithm hmac-md5; secret "e6gZLZmV9+M5+79HAD4XgA=="; }; options { default-key "rndc-key"; default-server 127.0.0.1; default-port 953; }; # End of rndc.conf # Use with the following in named.conf, adjusting the allow list as needed: # key "rndc-key" { # algorithm hmac-md5; # secret "e6gZLZmV9+M5+79HAD4XgA=="; # }; # # controls { # inet 127.0.0.1 port 953 # allow { 127.0.0.1; } keys { "rndc-key"; }; # }; # End of named.conf
resolv.conf 설정부분 search mydomain.net nameserver 444.333.222.111 // 서버 ip nameserver 61.74.63.1 // KT nameserver 168.126.63.1 // KT
hosts 설정부분 # Do not remove the following line, or various programs # that require network functionality will fail. 444.333.222.111 ns.mydomain.net ns 127.0.0.1 ns.ibserv.net ns localhost.localdomain localhost
mydomain.rev 설정부분 $TTL 86400 @ IN SOA ns.mydomain.net. root.mydomain.net. ( 2004031410 ; Serial 10800 ; Refresh 3600 ; Retry 432000 ; Expire 86400 ; Minimum ) ; Name Server ; IN NS ns.mydomain.net. ; ; in.addr-arpa ; 111 IN PTR mydomain.net.
mydomain.zone 설정부분 $TTL 86400 @ IN SOA ns.mydomain.net. root.mydomain.net. ( 2004031410 ; Serial 10800 ; Refresh 3600 ; Retry 432000 ; Expire 86400 ; Minimum ) ; Name Server ; IN NS ns.mydomain.net. IN A 218.158.198.52 ; ; Host name & Infomations ns IN A 444.333.222.111 IN HINFO "i686 Pentium III" "Linux" ; ; VirtualHost ftp IN A 444.333.222.111 ; ; Alias www IN CNAME @
이렇게 설정을 했습니다.
어디가 이상이 있는지 확인 부탁드립니다.[/code]
Forums:
지적내용 : IP가 잘못돼있습니다.IP에 들어갈수있는 숫자는 0~
지적내용 : IP가 잘못돼있습니다.
IP에 들어갈수있는 숫자는 0~255 입니다.
그래서 그런지 mydomain.net 으로 핑때리니까 이런결과가 나오네요...
C:\Documents and Settings\박영선>ping mydomain.net
Pinging mydomain.net [69.25.27.170] with 32 bytes of data:
Reply from 69.25.27.170: bytes=32 time=221ms TTL=241
^^;;
댓글 달기