[CentOS] DNS trouble (little, but i need some help)

Thu Nov 23 21:19:36 UTC 2006
Aleksandar Milivojevic <alex at milivojevic.org>

Quoting Departamento de Informatica <deptoinf at gmail.com>:

> HI , i have a DNS trouble , wish you could help me, maybe it's a bit
> mistake of mine, but i don't know what could it be, i'm trying
> to configure phpnuke, and i want the URL http://portal.misitio.cl
> points to /var/www/nuke, that's ok with apache virtualhost, but in DNS
> , i'm trying to do from anoother server
>
> $host portal.misitio.cl
> Host portal.misitio.cl not found: 3(NXDOMAIN)
>
> here its my 2 file 227.77.145.in-addr.arpa.hosts  and
> /var/named/misitio.cl.hosts
>
> hope you could help me
>
> Thanks
>
>
> /var/named/227.77.145.in-addr.arpa.hosts
>
> 227.77.145.in-addr.arpa.        IN      SOA     ns.misitio.cl.
> webmaster.misitio.cl. (
>                        1162314675
>                        10800
>                        3600
>                        604800
>                        38400 )
> 227.77.145.in-addr.arpa.        IN      NS      ns.misitio.cl.
> 235.227.77.145.in-addr.arpa.    IN      PTR     ns.misitio.cl.
> 235.227.77.145.in-addr.arpa.    IN      PTR     www.misitio.cl.
> 235.227.77.145.in-addr.arpa.    IN      PTR     mail.misitio.cl.
> 235.227.77.145.in-addr.arpa.    IN      PTR     portal.misitio.cl.
> 235.227.77.145.in-addr.arpa.    IN      PTR     misitio.cl.
>
>
> /var/named/misitio.cl.hosts
>
> misitio.cl.  IN      SOA     ns.misitio.cl. webmaster.misitio.cl. (
>                        1162314305
>                        10800
>                        3600
>                        604800
>                        38400 )
> misitio.cl.  IN      NS      ns.misitio.cl.
> ns.misitio.cl.       IN      A       145.77.227.235
> mail.misitio.cl.     IN      A       145.77.227.235
> www.misitio.cl.      IN      A       145.77.227.235
> portal.misitio.cl.   IN      A       145.77.227.235
> misitio.cl.  IN      A       145.77.227.235
> misitio.cl.  IN      MX      10 mail.misitio.cl.

Well, one thing is sure.  You love to type.  Not a single shortcut ;-)

Anyhow, couple of stupid questions.  Have you updated serial number  
after adding portal's record on the master?  Did you reloaded master?   
Where is that "host" command attempting to resolve portal's address?   
Master?  Slave (do you have any slaves)?  Some other DNS server?   
Would be helpfull if you included output of dig command (instead of  
host command).