You can not put a wildcard in your /etc/hosts file...no.  You can put 
individiual entries in your /etc/hosts file, for each IP.

To modify the zone file, you edit (probable location) 
/var/named/db.172.16.0, and do the following:

Add a line for "1" that looks like the "254 IN PTR" line, below.

Increment the "; Serial" number by 1.

Restat named.

BTW...someone else had noted, earlier, that they seemed to think that the 
address space you're using belonged to someone already, and that you 
should renumber.

On the off chance, I did a little digging...you're safe.  172.16.0.0/12 
(the space between 172.16.0.0 and 172.31.255.255) is not allocated, and is 
actually considered "private space".  You don't have to worry about it.

On Sat, 23 Nov 2002 [EMAIL PROTECTED] wrote:

> So, do you means I can modify the /etc/hosts like this :
> 172.16.0.*    cleints.xxx.xxx.xxx    clients
> 
> BTW, how can I modify the zone file ( ip reverse ), then the system can
> reverse the ip_addres range 172.16.0.1 - 172.16.0.253 ?
> 
> Thank for your help !
> 
> Edward.
> 
> Mike Burger wrote:
> 
> > That would be correct.  You don't have an actual entry for 172.16.0.1 in
> > your reverse zone file, so the system can't reverse resolve that IP until
> > you either put it into the zone file and reload, or put it into your
> > /etc/hosts file.
> >
> > On Sat, 23 Nov 2002 [EMAIL PROTECTED] wrote:
> >
> > > Hello,
> > >
> > > I just setup NAT for the Intranet...
> > > I found I must modify /etc/hosts :
> > > 172.16.0.1    client1.xxx.xxx.xxx    client1
> > > Then I can connect to ftp or telnet very quick...
> > > So, is it the problem of IP Reverse ( DNS setting ) ?
> > >
> > > Here is the setting of DNS :
> > >
> > > /etc/named.conf :
> > >
> > > zone "0.16.172.in-addr.arpa" in {
> > >  type master;
> > >  file "db.172.16.0";
> > > };
> > >
> > > db.172.16.0 :
> > >
> > > $TTL 3600
> > > @ IN SOA host1.xxx.xxx.xxx. root.xxx.xxx.xxx. (
> > >                                       2002112102 ; Serial
> > >                                       28800 ; Refresh
> > >                                       14400      ; Retry
> > >                                       3600000    ; Expire
> > >                                       3600 )    ; Minimum
> > > @ IN NS host1.xxx.xxx.xxx.
> > > ; IP addresss of eth1 is 172.16.0.254
> > > 254 IN PTR clients.xxx.xxx.xxx.
> > >
> > > Thank for your help !
> > >
> > > Edward.
> > >
> > >
> > >
> > >
> > >
> >
> > --
> > Mike Burger
> > http://www.bubbanfriends.org
> >
> > Visit the Dog Pound II BBS
> > telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> 
> 
> 
> 
> 

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to