Need help with named

Barry Margolin barmar at alum.mit.edu
Wed Sep 29 21:24:45 UTC 2004


In article <cjeu4g$2oq4$1 at sf1.isc.org>, myzmlm at hotmail.com (zmlm) 
wrote:

> I'm running named on RH9. I want to set up a test zone:test.linux. But
> I cann't make it working. Any idea? Thanks.

The zone file looks OK to me.  What problems do you have?  Are there any 
error messages in the log that mention test.linux?

> 
> /etc/named.conf
> 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;
> 
>         forwarders {
>                 12.127.16.83;
>                 12.127.17.83;
>         };
> };
> controls {
>         inet 127.0.0.1 allow { localhost; } keys { rndckey; };
> };
> 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 "test.linux" IN {
>         type master;
>         notify no;
>         file "test.linux";
> };
> 
> include "/etc/rndc.key";
> 
> /var/named/test.linux
> $TTL    86400
> @                IN SOA mail.test.linux. root.test.linux. (
>                                         42              ; serial (d.
> adams)
>                                         3H              ; refresh
>                                         15M             ; retry
>                                         1W              ; expiry
>                                         1D )            ; minimum
> 
>                               NS        ns              ; Name server
>                               MX        mail            ; Mail server
> localhost               A       127.0.0.1
> ns                      A       192.168.0.194
> mail                    A       192.168.0.194

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


More information about the bind-users mailing list