>> Edit article
이름
제목
패스워드
제 리눅스 서버 Dns 설정내용입니다. 레드헷 7.2 구염... 결국 올립니다. 도저히 못하겠어염 ㅡㅡ; http://222.111.333.4 웹페이지로는 보이는데 http://slinux.com 도메인으로 접속하면 싸이트을 못찾아염. (외부에서는 안됩니다. 회사 자체내 아이피로 설정해서 회사내에서만 사용할려고 합니다.) ------------------------------------------------------------------------ ------------------------------------------------------------------------ [root@slinux named]# vi named.rev $TTL 86401 @ IN SOA ns.slinux.com. root.ns.slinux.com. ( 2002014333 ; serial 3600 ; refresh #시간조절가능 3600 ; retry 3600 ; expire 3600 ; default_ttl ) @ IN NS ns.slinux.com. @ 160 IN PTR ns.slinux.com. ------------------------------------------------------------------------ ------------------------------------------------------------------------ $TTL 87702 @ IN SOA ns.slinux.com. root.slinux.com. ( 2044233201 ; serial 3600 ; refresh 3600 ; retry 3600 ; expire 3600 ; default_ttl ) ; @ IN NS ns.slinux.com. ; ; @ IN A 222.111.333.4 www IN A 222.111.333.4 slinux.com IN A 222.111.333.4 mail IN A 222.111.333.4 @ IN MX 10 mail ~ ~ ~ ~ ~ ------------------------------------------------------------------------ ------------------------------------------------------------------------ [root@slinux named]# vi /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 // controls { inet 207.0.0.1 allow { localhost; } keys { rndckey; }; }; zone "." IN { type hint; file "named.ca"; }; zone "slinux.com" IN { type master; file "slinux.zone"; allow-update { none; }; }; zone "0.0.127.in-addr.arpa" IN { type master; file "named.local"; allow-update { none; }; }; zone "333.111.222.in-addr.arpa" IN { type master; file "named.rev"; allow-update { none; }; }; include "/etc/rndc.key"; ------------------------------------------------------------------------ ------------------------------------------------------------------------ 보시구 아시면 틀린부분좀 알려주세염.
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved