>> Edit article
이름
제목
패스워드
안냐세요.. 리눅스초짜인데 네임서버설정을 해보고 싶어 강좌를 읽고 제 나름대로 만들어보긴 했는데 틀린부분 있는지 쓱~ 훑어보시고 지적해주세요~~ ^^ o/s : redhat7.1 full설치 도메인 : asdf.co.kr ip : 200.150.100.50 -------------- | 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 "0.0.127.in-addr.arpa" IN { type master; file "named.local"; allow-update { none; }; }; zone "localhost" IN { type master; file "localhost.zone"; allow-update { none; }; }; zone "asdf.co.kr" IN { type master; file "asdf.zone"; // allow-update { none; }; }; zone "100.150.200.in-addr.arpa" IN { type master; file "asdf.rev"; allow-update { none; }; }; ------------ | asdf.rev | ------------ @ IN SOA ns.asdf.co.kr. root.asdf.co.kr. ( 1997022700 ; serial 28800 ; refresh 14400 ; retry 3600000 ; expire 86400 ; minimum ) ; name server ; IN NS ns.asdf.co.kr. IN MX 10 asdf.co.kr. ; ; in.addr-arpa 50 IN PTR asdf.co.kr. ---------------------------------------------------------------- ------------- | asdf.zone | ------------- @ IN SOA ns.asdf.co.kr. root.asdf.co.kr. ( 1997022700 ; serial 28800 ; refresh 14400 ; retry 3600000 ; expire 86400 ; minimum ) ; name server ; IN A 200.150.100.50 IN NS www.asdf.co.kr. IN MX 10 asdf.co.kr. ; ; host name localhost IN A 127.0.0.1 ; @ IN A 200.150.100.50 ns IN A 200.150.100.50 asdf IN A 200.150.100.50 ; virtual host www IN A 200.150.100.50 asdf.co.kr. IN A 200.150.100.50 ; alias ; www IN CNAME @ -------------------------------------------------------------------- --------------- | resolv.conf | --------------- domain asdf.co.kr nameserver 200.150.100.50 nameserver 168.126.63.1 궁금한게 있는데 주워진 ip와 resolv.conf의 nameserver ip를 같게 해줘야 되는지요...? 읽어주셔 고맙구요.. 리필 부탁드릴께요~~ 좋은 하루되세요~!!! ^^
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved