[CentOS] bind issue on centos 5 (SOLVED)

Tue Jul 10 05:10:16 UTC 2007
Indunil Jayasooriya <indunil75 at gmail.com>

Hi everyone,

Finally, I got it solved.

The issue was my named.conf file. pls see below.

zone "example77.com " IN {
        type master;
        file "master/example77.com.zone";
};

The below error happened

Jul  5 15:50:32 gateway named[3548]: master/example77.com.zone:11:
>  example77.com\032: bad owner name (check-names)

in the above zone line, between example.com , double quotes should be
included. But trailing double quotes was with a ONE SPACE.

I rectified as follows.

zone "example77.com" IN {
        type master;
        file "master/example77.com.zone";
};

Thanks, EVERYONE.



On 7/7/07, Robert Spangler <lazydog at zoominternet.net> wrote:
>
> On Thu July 5 2007 06:29, Indunil Jayasooriya wrote:
>
> >  [root at gateway master]# cat example77.com.zone
> >  $TTL    86400
> >  @       IN      SOA     gateway.example77.com. root.example77.com. (
> >                          2006101604 ; Serial
> >                          1800       ; Refresh
> >                          300        ; Retry
> >                          360000     ; Expire
> >                          86400 )    ; Minimum
> >
> >                  NS      gateway.example77.com.
> >
> >                  MX      10      gateway.example77.com.
> >                  MX      20      mail.example77.com.
> >
> >                  A       192.168.0.3
> >
> >  gateway     A        192.168.0.3
> >  mail            A       192.168.0.2
> >
> >
> >  But, I still get the same error. pls see below.
> >
> >  Jul  5 15:50:32 gateway named[3548]: master/example77.com.zone:11:
> >  example77.com\032: bad owner name (check-names)
>
> This error is telling you that the error is in line 11.
> The error as some have already told you is the space.
>
> Sorry I didn't get back to you sooner.
>
>
> --
>
> Regards
> Robert
>
> Smile... it increases your face value!
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Thank you
Indunil Jayasooriya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20070710/299e0336/attachment-0004.html>