Bind9 - problem to create new zone

phn at icke-reklam.ipsec.nu phn at icke-reklam.ipsec.nu
Tue Nov 4 20:33:45 UTC 2003


Mr Mojo Risin' <mojo.risin at club-internet.freu> wrote:
> Hi,

> I latest install Bind9 (chroot in /home/named/), It work perfectly to resolv
> extern name (www.google.com for exemple), but it doesn't works when I want
> resolve computer's name of my private domain (maison.micro)

> For, "ping www.google.fr" send me the right ip, but "ping morpheus" give
> "ping: unknown host morpheus"

> Have I forgotten something, or do i made a mistake on my config files?


> - I however have make the statement of zone in "named.conf"
> (/etc/named.conf - chroot /home/named/etc/named.conf)


> zone "100.168.192.in.addr.arpa" in {
>       notify no;
>       type master;
>       file "/var/db.192.168.100";


> - after, I made "maison.micro" file on /var (chroot "/home/named/var")

> @      IN    SOA bond.maison.micro. postmaster.bond.maison.micro.(
>               2000101500 ; numéro de série
>               14400 ; nouvel essai toutes les 4 heures
>               28800 ; rafraichissement toutes les 8 heures
>               604800 ; expiration dans 7 jours
>               86400 ) ; temps de vie minimal 24 heures

> ; serveur de nom
>           IN NS   bond.maison.micro.

> ;adresses IP des machines
> localhost             IN A       127.0.0.1
> bond                   IN A       192.168.100.10
> morpheus            IN A       192.168.100.1
> bob                     IN A       192.168.100.20
> ;Alias
> appollo          IN CNAME         morpheus
> ftp                 IN CNAME         morpheus
You need a statement :
zone "maison.micro" in {
	file "var/maison.micro";
	type master;
};

in your named.conf

You also probably need to ping "morpheus.maison.micro"


> - To finish, I created "db.192.168.100" file always on "/var" (chroot
> "/home/named/var"):

> @      IN    SOA bond.maison.micro. postmaster.bond.maison.micro.(
>                     2000101500 ; numéro de série
>                     14400 ; nouvel essai toutes les 4 heures
>                     28800 ; rafraichissement totues les 8 heures
>                     604800 ; expiration dans 7 jours
>                     86400 ) ; temps de vie minimal 24 heures

> ; serveur de nom
>           IN NS   bond.maison.micro.

> ; adresses IP inverses
> 1          IN PTR    morpheus.maison.micro.
> 10         IN PTR    bond.maison.micro.
> 20         IN PTR    bob.maison.micro.


> Thanx a lot  to those which will have had courage to read all this post! :)
> and thanx a lot for your help

> Mr Mojo

Regards



-- 
Peter Håkanson         
        IPSec  Sverige      ( At Gothenburg Riverside )
           Sorry about my e-mail address, but i'm trying to keep spam out,
	   remove "icke-reklam" if you feel for mailing me. Thanx.


More information about the bind-users mailing list