bind config problem... Please help me...
Mark_Andrews at isc.org
Mark_Andrews at isc.org
Thu Feb 6 22:00:01 UTC 2003
"My car doesn't work. Here is a car just like it. Please
tell me what is wrong with my car."
If you said that to a mechanic you would be laughed out of
the workshop.
Don't do it to us here.
Mark
> Dear Mr.
> I hope to work webserver and name server in my computer.
>
> After zone information transmit to another name server, In another computer
> recognize ns.XXXX.co.kr instead of www.XXXX.co.kr.
>
> In other words,My problem is that domain don't recognize www.XXXX.co.kr
> but domain recognize ns.XXXX.co.kr
>
> I don't see why not.
>
> I use redhat 7.1 and bind-9.2.1
>
> Please check my config file.
>
> Thank you very much.
>
> ##### named.conf
> include "/etc/rndc.key";
>
> controls {
> inet 127.0.0.1 port 953
> allow { localhost; } keys { rndckey; };
> };
>
> options {
> directory "/var/named";
> dump-file "/var/tmp/named_dump.db";
> statistics-file "/var/tmp/named.stats";
> pid-file "/var/run/named.pid";
> allow-transfer { 1.2.3.4; };
> };
>
> logging { category lame-servers { null; };
> category notify { null; };
> };
>
> //
> // a caching only nameserver config
> //
>
> zone "." IN {
> type hint;
> file "named.ca";
> };
>
> zone "0.0.127.in-addr.arpa" IN {
> type master;
> file "zone-0.0.127.in-addr.arpa";
> notify no;
};
>
> zone "3.2.1.in-addr.arpa" IN {
> type master;
> file "zone-3.2.1.in-addr.arpa";
> };
>
> zone "XXXX.co.kr" IN {
> type master;
> file "zone-XXXX.co.kr";
> };
>
>
> ##### zone-XXXX.co.kr
>
> $TTL 86400
> @ IN SOA ns.XXXX.co.kr. root.XXXX.co.kr. (
> 2003020400 ; Serial
> 28800 ; Refresh
> 14400 ; Retry
> 3600000 ; Expire
> 86400 ) ; Minimum
>
> IN NS ns.XXXX.co.kr.
> IN NS ns2.XXXX.co.kr.
> IN A 1.2.3.4
>
> IN MX 10 mail
>
> www IN A 1.2.3.4
> mail IN A 1.2.3.4
> ns IN A 1.2.3.4
> ns2 IN A 1.2.3.4
> ftp IN A 1.2.3.4
>
>
>
> ###### zone-3.2.1.in-addr.arpa
> $TTL 86400
> @ IN SOA ns.XXXX.co.kr. root.XXXX.co.kr. (
> 2003020400 ; Serial
> 28800 ; Refresh
> 14400 ; Retry
> 3600000 ; Expire
> 86400 ) ; Minimum
>
> IN NS ns.XXXX.co.kr.
>
> 240 IN PTR ns.XXXX.co.kr.
>
>
>
> ##### zone-0.0.127.in-addr.arpa
> $TTL 86400
> @ IN SOA ns.XXXX.co.kr. root.XXXX.co.kr. (
> 2003020400 ; Serial
> 28800 ; Refresh
> 14400 ; Retry
> 3600000 ; Expire
> 86400 ) ; Minimum
>
> IN NS ns.XXXX.co.kr.
> IN A 1.2.3.4
> www IN A 1.2.3.4
> mail IN A 1.2.3.4
> ns IN A 1.2.3.4
> ns2 IN A 1.2.3.4
>
> 1 IN PTR localhost.
>
>
>
> ##### httpd.conf
> ServerName www.XXXX.co.kr
>
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews at isc.org
More information about the bind-users
mailing list