Dear Friends,
On Fri, 17 Aug 2007 Raghu Prasad wrote :
> > I just want to setup a local Naming server using Bind or whatever....
> > ie.. In my network i need to ping the Linux box using name / call the
> > local webserver using name instead of IP
> >
> > 1. I have installed bind and configured named.conf
> > 2. I have copied localhost.zone to forward.com and modified below
> >
> > lin.com (my domain name) IN NS ns.lin.com
> >
> > lin.com. IN A 10.36.51.122
> > ns.lin.com. IN A 10.36.51.122
> > www.lin.com IN A 10.36.51.122
>
>Look at the very beginning of your localhost.zone file. It contains
>something like
>
>$TTL 604800
>@ IN SOA localhost. root.localhost. (
> 1 ; Serial
> 604800 ; Refresh
> 86400 ; Retry
><snip>
>
>In your new forward.com file, have you changed the entry for start of
>authority(SOA) from 'localhost.' to 'lin.com.' and 'root.localhost.' to
>'root.lin.com.'? <--- Don't miss the terminating dot in the domain
>name.
>
> >
> > and in my named.conf
> >
> > zone "lin.com" IN {
> > type master;
> > file "forward.com"
> > };
>
>Seems okay for a working name server.
>
> > But when I ping my PC using name (test.lin.com) reply comes from
> > localhost.... WHY???
>
>First of all, test.lin.com is not mentioned in the configuration segment
>posted by you. Also don't use ping for DNS testing. Use dig, host or
>nslookup commands. See respective manual or info pages for usage
>details.
>
>Raghu
>
sorry to post my link, but I feel it could be of some help...
http://fedoranews.org/mediawiki/index.php/How_to_configure_DNS_Server
regards,
Bimal Pandit
--
http://mm.glug-bom.org/mailman/listinfo/linuxers