On Mon, 2005-12-12 at 23:37, Manu Abraham wrote:
> Nadeem M. Khan wrote:
> 
> >
> >You would need something like this in your /var/named/<zone> file:
> >
> >www,yahoo.com                      1D IN A         192.168.0.5
> >www.google.com                        IN A         192.168.0.5
> >www.asd.net                           IN A         192.168.0.5
> >
> >You also need to create a reverse zone file if you want to resolve IP
> >addresses to hostnames.
> >
> >5       IN      PTR     www.yahoo.com.
> >5       IN      PTR     www.google.com.
> >
> >Do not forget the  trailing dot!
> >
> >Apart from that, you *must* also edit your /etc/named.conf to have a
> >section like this:
> >
> >zone "yahoo.com" IN {
> >        type master;
> >        file "<your-zone-file-in-/var/named>";
> >        allow-update { none; };
> >
> >  
> >
> 
> You would need a "}" here, after opening each of these braces ..

Yup! A "};" actually.

> 
> >create similar entries for google.com and asd.net
> >
> >If you need reverse lookups, then you also need to have a section
> like
> >this:  
> >
> >zone "0.168.192.in-addr.arpa" IN {
> >        type master;
> >        file "<your-reverse-zone-file-in-/var/named>";
> >        allow-update { none; };
> >
> >
> >  
> >
> 
> same here too
> 

Same here. I forgot to highlight that part while copy-pasting with the
mouse. :-)

> Manu

Regards,
NMK.
-----------------------------------------------------------------------
We are Microsoft. Unix is irrelevant. Openness is futile. Prepare to be
assimilated.



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/0XFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/dubailug/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to