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 ..


>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


Manu



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/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