Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

New to Ubuntu and trying to set up the server as a Bind Primary Master
domain is called fog.local (I'm using it for Fog cloning)
server name is london (IP 192.168.0.5)
gateway is 192.168.0.1

So my named.conf.local file:

zone "fog.local" {<br/>
    type master;<br/>
    file "/etc/bind/db.fog.local";<br/>
};<br/><br/>

zone "0.168.192.in-addr.arpa" {<br/>
        type master;<br/>
        file "/etc/bind/db.192";<br/>
};<br/><br/>

Seems to be OK

My db.fog.local file:

; BIND data file for local loopback interface<br/>
;<br/>
$TTL    604800<br/>
@       IN      SOA     fog.local. root.fog.local. (<br/>
                              9         ; Serial<br/>
                         604800         ; Refresh<br/>
                          86400         ; Retry<br/>
                        2419200         ; Expire<br/>
                         604800 )       ; Negative Cache TTL<br/>
    IN  A   192.168.0.5<br/><br/>
;
@       IN      NS      ns.fog.local.<br/>
@       IN      A       192.168.0.5<br/>
@       IN      AAAA    ::1<br/>
ns      IN      A       192.168.0.5<br/>
london  IN  A   192.168.0.5<br/><br/>

;end of file<br/>

My Reverse file

; BIND reverse data file for local loopback interface<br/>
;<br/>
$TTL    604800<br/>
@   IN  SOA fog.local. root.fog.local. (<br/>
                  3     ; Serial<br/>
             604800     ; Refresh<br/>
              86400     ; Retry<br/>
            2419200     ; Expire<br/>
             604800 )   ; Negative Cache TTL<br/><br/>
;<br/>
@   IN  NS  ns.<br/>
1.0.0   IN  PTR ns.fog.local.<br/>
2.0.0   IN  PTR london.fog.local<br/>

;end of file<br/><br/>

So my problem is I can't ping london or london.fog.local from a client workstation but I can ping ns.fog.local

Any help is appreciated Thanks

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.