How to Setup a Name Servers visible on Internet?

Matus UHLAR - fantomas uhlar at fantomas.sk
Tue Jun 14 12:55:11 UTC 2011


On 14.06.11 14:2 , erickom at kom.za.net wrote:
> zone "metropolitanbuntu.co.za" IN {
>         file "/var/cache/bind/master.metropolitanbuntu.co.za";
>
> zone "0.0.10.in-addr.arpa" IN {
>         file "/var/cache/bind/0.0.10.metropolitanbuntu.co.za.inv";
>
> zone "194.134.41.in-addr.arpa" IN {
>         file "/var/cache/bind/194.134.41.metropolitanbuntu.co.za.inv";

Just FYI: I put zones to a files the same name as zones have (with the
exemption of changing slash to underscore for RFC2317-delegated zones).

therefore I'd do

zone "metropolitanbuntu.co.za" IN {
        file "/var/cache/bind/metropolitanbuntu.co.za";

zone "0.0.10.in-addr.arpa" IN {
        file "/var/cache/bind/0.0.10.in-addr.arpa";

zone "194.134.41.in-addr.arpa" IN {
        file "/var/cache/bind/194.134.41.in-addr.arpa";

and apparently also put 'directory "/var/cache/bind";' to named.conf and
skip the full path, or just prefix it with master/ and slave/ ...

It's much easier to do

vi metropolitanbuntu.co.za
rndc reload metrop<TAB>
 or maybe in tcsh:
rndc reload !!:1

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
We are but packets in the Internet of life (userfriendly.org)



More information about the bind-users mailing list